hi ,
I build war by gradlew buildWar and deployed the wars to tomcat installed on production server .
I copied logback.xml to tomcat’s conf folder but my log file not created in logs folder .
how can i config the slf4j to extra tomcat .
hi ,
I build war by gradlew buildWar and deployed the wars to tomcat installed on production server .
I copied logback.xml to tomcat’s conf folder but my log file not created in logs folder .
how can i config the slf4j to extra tomcat .
Hi,
Have a look at this section of the docs.
In short, you have to provide the logback.configurationFile
Java system property (as -Dlogback.configurationFile=...
command line argument) pointing to your logback.xml
.