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 Logging exceptions using a separate layout
Date Wed, 31 Jan 2007 10:03:17 GMT

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!


View raw message