title: How to print logs for 2 classes in 2 different files in spring boot
body: <p>I have set logging.file=C:/usr/local/tomcat/logs/hib.log in application.properties and setting  like below in class</p>
  
  <pre><code>private static final Logger logger = LogManager.getLogger(ChargeMasterController.class);
  
      logger.info("Total time taken for  is ---------------------------" + time  + " ms");
  </code></pre>
  
  <p>Logs are getting printed fine in the path mentioned as logging.file.</p>
  
  <p>Now I want to print my logs in 2 different files for 2 different classes(In same package), how can I set 2 logging.file in application.properties</p>