Skip to content

Logs of java.util.logging.Logger are not output when war is deployed to tomcat. #16062

@neut-funahashi

Description

@neut-funahashi

Spring boot 2.0.4.RELEASE
apache tomcat 8.5.38

SLF4JBridgeHandler.install will not run because the isJulUsingASingleConsoleHandlerAtMost method is false at runtime on org.springframework.boot.logging.Slf4JLoggingSystem class configureJdkLoggingBridgeHandler.

In order to prevent log duplication, how about installing after uninstalling in advance?

It is confirmed that it is output normally with Spring boot 1.3.8.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions