Spring boot multiple log files
<p>In my Spring boot project with "@Slf4j" annotated classes, for certain classes I want to log to a different file. But couldn't figure out how to do that. I have one logback-spring.xml file, which is referenced from my properties file like this:</p>

<pre><code>logging.config= path/to/logback-spring.xml
logging.file=myCurrentLogFile.log
</code></pre>

<p>Do I have to create another logback-spring.xml file now? or I can configure it in current file, and if then how can I choose which logger to use when.</p>