anchor.diff:  [[features.logging.file-rotation]]
   === File Rotation
   If you are using the Logback, it is possible to fine-tune log rotation settings using your `application.properties` or `application.yaml` file.
  -For all other logging system, you will 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).
  +For all other logging system, you will 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).
   
   The following rotation policy properties are supported:
   
  
positive.code: 
  NOTE: The `source` must be specified in kebab case (such as `my.property-name`).
  However, properties can be added to the `Environment` by using the relaxed rules.
  
negative.code: Use the `name` attribute to specify which profile accepts the configuration.
  The `<springProfile>` tag can contain a profile name (for example `staging`) or a profile expression.
  A profile expression allows for more complicated profile logic to be expressed, for example `production & (eu-central | eu-west)`.
  Check the {spring-framework-docs}/core.html#beans-definition-profiles-java[Spring Framework reference guide] for more details.
  The following listing shows three sample profiles:
  
  [source,xml,subs="verbatim",indent=0]
  