I believe the place holder "%message" refers to the data sent when you do log.Debug(message). I think it's more about how you build the message in the logger that matter in your case. Try to send us your logger call maybe.
Yann
-----Original Message-----
From: Hsalim [mailto:
hsalim@...]
Sent: Wednesday, July 30, 2008 7:11 AM
To:
log4net-user@...
Subject: Excluding stack trace from Layout
Hi,
I have tried to search for an answer here and tried to understand the
documentation but can't say I have been successful.
I'm using this configuration value for the layout pattern:
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date %newline [%thread] %newline %-5level :
%message %newline" />
</layout>
This is too much information. I don't want the stack trace, only
exception.messge and exception.InnerException.
How do I specify that in the layout?
Thanks in advance for helping.
Habib
--
View this message in context:
http://www.nabble.com/Excluding-stack-trace-from-Layout-tp18734170p18734170.htmlSent from the Log4net - Users mailing list archive at Nabble.com.