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) <[email protected]>: > 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:[email protected]] > *Sent:* Wednesday, January 29, 2014 11:30 AM > *To:* [email protected] > *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
