mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-23 13:26:02 +00:00
Fix class used to initialize logger in Watcher (#46467)
This class has been using a logger configured for a different class for quite a while. While the circumstance in which it logs is rare, it should still use the correct logger.
This commit is contained in:
parent
10da998dfa
commit
7a2878b29b
@ -5,8 +5,8 @@
|
||||
*/
|
||||
package org.elasticsearch.xpack.watcher.execution;
|
||||
|
||||
import org.apache.logging.log4j.Logger;
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
import org.apache.logging.log4j.message.ParameterizedMessage;
|
||||
import org.apache.logging.log4j.util.Supplier;
|
||||
import org.elasticsearch.xpack.core.watcher.trigger.TriggerEvent;
|
||||
@ -16,7 +16,7 @@ import java.util.function.Consumer;
|
||||
import static java.util.stream.StreamSupport.stream;
|
||||
|
||||
public class AsyncTriggerEventConsumer implements Consumer<Iterable<TriggerEvent>> {
|
||||
private static final Logger logger = LogManager.getLogger(SyncTriggerEventConsumer.class);
|
||||
private static final Logger logger = LogManager.getLogger(AsyncTriggerEventConsumer.class);
|
||||
private final ExecutionService executionService;
|
||||
|
||||
public AsyncTriggerEventConsumer(ExecutionService executionService) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user