Update spring boot logback config properties #276
Labels
agent-java
community
Issues and PRs created by the community
triage
Issues and PRs that need to be triaged
Software Details
Issue
I was trying to modify the rolling policy of ecs-file-appender.xml via
application.properties
after including it in my logback config file.logback-spring.xml
:Following the spring boot appendix, I used the following properties in my
application.properties
file.application.properties
:However, the properties were not applied.
I tried the following properties as well and the result was the same.
application.properties
:Resolution
After looking at the file-appender.xml from Spring Boot, I realise the property names were different and updated my logback config to use the new property names.
logback-spring.xml
:Using the updated config and the following
application.properties
:The configuration was successful.
Did I make a mistake initially or are the property names in ecs-file-appender.xml not compatible with my Spring Boot version?
The text was updated successfully, but these errors were encountered: