Fix SnapshotLifecycleService logger (#48711)

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.
This commit is contained in:
Lee Hinman 2019-10-30 13:13:19 -06:00 committed by Lee Hinman
parent f8ef402027
commit ed2bb73de2
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ import java.util.stream.Collectors;
*/
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;