Sairam Soham

Sairam Soham

  • NA
  • 47
  • 28.5k

Log4Net -- Configure log types to list in the log file

Jul 12 2015 8:47 PM

To my project I have added Log4Net dll as a reference.

In a code I have DEBUG, INFO and ERROR logging.

In the app.config I have set level value = "All"

<level value="All" />


So it displays all logs.

Is there any way to configure logs that I would like to display in the a log file.

For example

  1.  DEBUG and INFO

  2. INFO and ERROR

  3. ERROR and DEBUG

Thanks
 


Answers (2)