Skip to Content
1
May 08, 2018 at 03:50 PM

How to specify different console log file based on log level types( ERROR/INFO/WARN) ?

101 Views

In our project , we have requirement that project will have different log file based on server log level. Error statement should go to error-console-YYYYMMDD.log , info statement should go to info-console-YYYYMMDD.log , warn statement should go to warn-console-YYYYMMDD.log file.