Skip to content

Section 4.4 File Rotation mentions the wrong configuration file name for Log4j2 #28184

@iamxiaojianzheng

Description

@iamxiaojianzheng

SpringBoot v2.5.5 - File Rotation

original

If you are using the Logback, it’s possible to fine-tune log rotation settings using your application.properties or application.yaml file. For all other logging system, you’ll need to configure rotation settings directly yourself (for example, if you use Log4J2 then you could add a log4j.xml file).

After modification

If you are using the Logback, it’s possible to fine-tune log rotation settings using your application.properties or application.yaml file. For all other logging system, you’ll need to configure rotation settings directly yourself (for example, if you use Log4J2 then you could add a log4j2.xml or log4j2-spring.xml file).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions