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:
parent
f8ef402027
commit
ed2bb73de2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue