Skip to content

Commit

Permalink
Update LogAccessor instantiations with current class names
Browse files Browse the repository at this point in the history
  • Loading branch information
bky373 committed Oct 27, 2024
1 parent 4a45905 commit 896e1f9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,13 @@
* @author Adrian Chlebosz
* @author Soby Chacko
* @author Sanghyeok An
* @author Borahm Lee
*
* @since 2.2
*/
public class EmbeddedKafkaZKBroker implements EmbeddedKafkaBroker {

private static final LogAccessor logger = new LogAccessor(LogFactory.getLog(EmbeddedKafkaBroker.class)); // NOSONAR
private static final LogAccessor logger = new LogAccessor(LogFactory.getLog(EmbeddedKafkaZKBroker.class)); // NOSONAR

public static final String SPRING_EMBEDDED_ZOOKEEPER_CONNECT = "spring.embedded.zookeeper.connect";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,13 @@
*
* @author Tomaz Fernandes
* @author Gary Russell
* @author Borahm Lee
* @since 2.9
* @see DefaultErrorHandler
*/
public class ContainerPartitionPausingBackOffManager implements KafkaConsumerBackoffManager {

private static final LogAccessor LOGGER = new LogAccessor(LogFactory.getLog(KafkaConsumerBackoffManager.class));
private static final LogAccessor LOGGER = new LogAccessor(LogFactory.getLog(ContainerPartitionPausingBackOffManager.class));

private final ListenerContainerRegistry listenerContainerRegistry;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
import java.util.concurrent.ConcurrentHashMap;
import java.util.regex.Pattern;

import org.apache.commons.logging.LogFactory;

import org.springframework.core.log.LogAccessor;
import org.springframework.lang.NonNull;
import org.springframework.lang.Nullable;
Expand All @@ -40,6 +42,7 @@
* @author Gary Russell
* @author Wang Zhiyang
* @author Sanghyeok An
* @author Borahm Lee
*
* @since 2.8
*
Expand All @@ -48,7 +51,7 @@ public abstract class DelegatingByTopicSerialization<T extends Closeable> implem

private static final String UNCHECKED = "unchecked";

private static final LogAccessor LOGGER = new LogAccessor(DelegatingDeserializer.class);
private static final LogAccessor LOGGER = new LogAccessor(LogFactory.getLog(DelegatingByTopicSerialization.class));

/**
* Name of the configuration property containing the serialization selector map for
Expand Down

0 comments on commit 896e1f9

Please sign in to comment.