Skip to content

Commit

Permalink
fix level for GC log
Browse files Browse the repository at this point in the history
It was changed to DEBUG a while back to reduce the noise.
  • Loading branch information
brharrington committed Jun 17, 2024
1 parent 4a1d67e commit 7a0c279
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/spectator/lang/java/ext/jvm-gc.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ gc.start(null);

## Logging

After GC events, an INFO level log message will get reported using slf4j. This makes it easy
After GC events, an DEBUG level log message will get reported using slf4j. This makes it easy
to see GC events in the context of other log messages for the application. The logger name is
`com.netflix.spectator.gc.GcLogger` and the message will look like:

Expand All @@ -60,7 +60,7 @@ detailed GC logs. See [GC causes](jvm-gc-causes.md) for more details on the poss
Sample:

```
2014-08-31 02:02:24,724 INFO [com.netflix.spectator.gc.GcLogger] YOUNG: ParNew,
2014-08-31 02:02:24,724 DEBUG [com.netflix.spectator.gc.GcLogger] YOUNG: ParNew,
id=5281, at=Sun Aug 31 02:02:24 UTC 2014, duration=2ms, cause=[Allocation Failure],
0.4G => 0.3G / 1.8G (24.3% => 16.6%)
```
Expand Down

0 comments on commit 7a0c279

Please sign in to comment.