Skip to content

Commit 55c82c6

Browse files
authored
atlas: cleanup stop log message (#1136)
The `step` variable is a duration and the toString indicates the units. Remove the `ms` in the log message which are confusing and lead to message like `PT1Mms`.
1 parent 78f523f commit 55c82c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spectator-reg-atlas/src/main/java/com/netflix/spectator/atlas/AtlasRegistry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ public void stop() {
196196
// Shutdown background tasks to collect data
197197
scheduler.shutdown();
198198
scheduler = null;
199-
logger.info("stopped collecting metrics every {}ms reporting to {}", step, uri);
199+
logger.info("stopped collecting metrics every {} reporting to {}", step, uri);
200200

201201
// Flush data to Atlas
202202
try {

0 commit comments

Comments
 (0)