logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominik Psenner <dpsen...@gmail.com>
Subject Re: log4net filling memory in prod
Date Thu, 30 Jan 2014 21:19:25 GMT
Async appenders can be configured lossy, by the means that they will loose
events once their buffer is full:

http://logging.apache.org/log4net/release/sdk/log4net.Appender.BufferingAppenderSkeleton.Lossy.html


2014-01-29 Edward Williams (Icertis Inc) <v-edwi@microsoft.com>:

>  Please excuse my typos.  Nearly cut off my hand in November, still
> trying to type/work with it.  J  Corrected below.
>
>
>
> *From:* Edward Williams (Icertis Inc) [mailto:v-edwi@microsoft.com]
> *Sent:* Wednesday, January 29, 2014 11:30 AM
> *To:* log4net-user@logging.apache.org
> *Subject:* log4net filling memory in prod
>
>
>
> Is there a way using log4net to limit the memory usage for logs?  The
> thread and private byte *count* goes out the window.  Also if trying to
> log to a path that the system doesn't have rights *to* it holds onto the
> events.  Is there a setting for simply dropping log entries that can't be
> saved?
>
>
>
> Thank you!
>



-- 
Dominik Psenner

Mime
View raw message