|
[
Permlink
| « Hide
]
Nicko Cadell added a comment - 01/Mar/05 08:07 AM
This change would potentially require us to break a number of interfaces
A workaround - call it ugly or not - would be to log a special message when you want to flush, and then have a trigger on the buffering appender(s)that looks for something specicial in that message.
This issue may be alleviated by the addition of a programmatic API for flushing the buffer held by the BufferingAppenderSkeleton. While this is not a general solution for all appenders and all types of output buffering I am going to leave this issue open.
Nicko Cadell made changes - 17/Apr/05 09:53 AM
Added Flush(true) method to BufferingAppenderSkeleton. This method forces the current buffer to be flushed to the output even if the appender is in lossy mode.
To find the appender use the LogManager.GetRepository().GetAppenders() method, then for each BufferingAppenderSkeleton call Flush(true).
Nicko Cadell made changes - 30/Aug/05 07:32 AM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||