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).

Comment From: wilkinsona

Closing in favor of #28189.