2
Answers

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

Sairam Soham

Sairam Soham

9y
435
1

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)