Skip to content

Commit

Permalink
Fixed docs to reference com.codahale.metrics.Slf4jReporter for the Sl…
Browse files Browse the repository at this point in the history
…f4j logger.
  • Loading branch information
jfrosch committed Nov 30, 2017
1 parent 3426f12 commit 93a65bf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/docs/asciidoc/reporting.ad
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,12 @@ class SimpleService {

=== Slf4jReporter

The Slf4jReporter reports metrics via a Slf4j logger named `grails.plugin.dropwizard.DropwizardMetricsGrailsPlugin` at
The Slf4jReporter reports metrics via a Slf4j logger named `com.codahale.metrics.Slf4jReporter` at
the `INFO` level. You may want to configure the level for that logger in `grails-app/conf/logback.groovy`
as shown below.

```
logger 'grails.plugin.dropwizard.DropwizardMetricsGrailsPlugin',
INFO, ['STDOUT'], false
logger 'com.codahale.metrics.Slf4jReporter', INFO, ['STDOUT'], false
```

For backward compatibility, this reporter is active by default. However, adding `slf4j-reporter.active` configuration
Expand Down

0 comments on commit 93a65bf

Please sign in to comment.