I want to use slf4j with logback for logging.
You can see my logback.xml below:
If you do not want to save your logs in Tomcat's bin folder then use ${catalina.base} as file path prefix in logback.xml file.
${catalina.base}
${catalina.base}/logs/log.log
Here log file will be saved in existing logs folder of Tomcat instead of bin.