尝试关闭日志记录,但遗漏了一些东西,因为我仍然获得日志输出。log4j: Level token is [OFF].log4j: Category root set to OFF
log4j: Parsing for [com.itextpdf.html2pdf.attach.impl.DefaultHtmlProcessorlog4j: Level token is [OFF].log4j: Category com.itextpdf.html2pdf.attach.impl.
我已经注释了所有的Log4j导入,并注释了代码中的所有记录器语句。但我仍然在控制台中收到警告。我已经删除了包含log4j.properties的资源文件夹。org.apache.catalina.core.ApplicationContext loglog4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
我现在遇到的问题是log4j想要被初始化,但是logback-经典依赖关系。以下是我在排除logback时遇到的问题: log4j:WARN No appenders could be found for logger (org.springframework.web.context.support.StandardServletEnvironment).log4j:WARN See http
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR=1 -e KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://localhost:9092 confluentinc/cp-kafkalog4j:WARN No appenders could be found for logger (io.confluent.admin.utils.cli.ZookeeperReadyCommand).
log4j:WARN Please