Is there a way to set the maximum number of error messages a log4net memory appender can contain?

Posted by uriDium on Stack Overflow See other posts from Stack Overflow or by uriDium
Published on 2010-03-10T10:06:08Z Indexed on 2010/03/26 15:03 UTC
Read the original article Hit count: 371

Filed under:
|
|

I would like to add a memory appender to the root logger so that I can connect to the application and get the last 10 events. I only ever want to keep the last 10. I am worried about this appender consuming all too much memory. The application is designed to run 24/7. Or is there another way?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about log4net