title: How to log info logs to one file & error logs to another file
body: <p>I want to print Info &amp; Debug logs to success.log file &amp; Error logs to error.log file in log4j by Java programmatic level(In config class). I tried many but couldn't get. Can anyone please help.</p>