Skip to content

Commit

Permalink
Fix SnapshotLifecycleService logger (#48711)
Browse files Browse the repository at this point in the history
The logger was erroneously using the `SnapshotLifecycleMetadata` class
for its initialization, making it hard to target packages for logging
levels since `SnapshotLifecycleMetadata` is in a different package.
  • Loading branch information
dakrone authored Oct 30, 2019
1 parent 24ba4c3 commit f50e5d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
*/
public class SnapshotLifecycleService implements LocalNodeMasterListener, Closeable, ClusterStateListener {

private static final Logger logger = LogManager.getLogger(SnapshotLifecycleMetadata.class);
private static final Logger logger = LogManager.getLogger(SnapshotLifecycleService.class);
private static final String JOB_PATTERN_SUFFIX = "-\\d+$";

private final SchedulerEngine scheduler;
Expand Down

0 comments on commit f50e5d8

Please sign in to comment.