Add stacktrace to every log in log4net
Posted
by tiagodias
on Stack Overflow
See other posts from Stack Overflow
or by tiagodias
Published on 2010-04-09T10:08:08Z
Indexed on
2010/04/09
10:13 UTC
Read the original article
Hit count: 343
log4net
|stacktrace
Hi all...
I'm using Log4Net to log a multilayered enterprise application. I know that when i log with exception Log4Net automatically exposes the exception StackTarce, but i want to log the stacktrace for every log even if those are not exception throws. Why i need that?... Simply, i want to know the call origin of the log (drilldown the layers...)
Thank all...
Tiago Dias
© Stack Overflow or respective owner