logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Widerberg Marcus" <Marcus.Widerb...@tetrapak.com>
Subject RE: Logging exceptions using a separate layout
Date Wed, 31 Jan 2007 10:30:09 GMT
Nevermind. I RTFM now. Sorry. /mawi

Widerberg Marcus wrote:
> Hello,
> 
> I would like to log events that have an exception so that the
> exception and stack is printed on the nextline, but I do not want to
> get empty lines between events in the log for all events that have no
> exception.   
> 
> To achieve this, is there a way to filter parts of a layout? Or
> specify a layout for events that have exceptions? Or something
> similar?  
> 
> Help is greatly appreciated!
> 
> /mawi


Mime
View raw message