I deployed a spring-boot application on CentOS 6.5.
The application is started by command 'service app start'.
Below is content of app.conf.
JAVA_HOME=/xxx
LOG_FOLDER=/xxx
I am confused that how to roll log file daily.
There is no logback.xml or any other logback configuration in application.properties.
You can place new logback.xml
and write your appenders accordingly and place it in classpath, the application.properties
will automatically look for it.
For more info please refer doc
For appenders it is already answered here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With