Re: Suppressing stacktrace output

2013-03-26 Thread henrik.ebbesen
mydomain.MyPatternLayout > log4j.appender.console.layout.IgnoresThrowable=false > ... -- View this message in context: http://apache-logging.6191.n7.nabble.com/Suppressing-stacktrace-output-tp6839p36314.html Sent from the Log4j - Users mail

Re: Suppressing stacktrace output

2008-03-24 Thread James A. N. Stauffer
g the %n and anything else after %m. > > > > Hi James- that approach did work but newlines are critical for making the > log file readable, particularly on the console. > -- > View this message in context: > http://www.nabble.com/Suppressing-stacktrace-output-tp16145551p16213313.

Re: Suppressing stacktrace output

2008-03-21 Thread jimski
Tim Watts wrote: > > > OR subclass PatternLayout and add a setIgnoresThrowable(). Hi Tim- that suggestion worked great. Thanks so much for your help. Thanks everyone else who provided suggestions as well. -- View this message in context: http://www.nabble.com/Suppressing-s

Re: Suppressing stacktrace output

2008-03-21 Thread jimski
James A. N. Stauffer wrote: > > Try removing the %n and anything else after %m. > Hi James- that approach did work but newlines are critical for making the log file readable, particularly on the console. -- View this message in context: http://www.nabble.com/Suppressing-stacktra

Re: Suppressing stacktrace output

2008-03-21 Thread James A. N. Stauffer
thought so too. But it doesn't seem that's the case. I'm using the > following pattern: > > [%d{-MM-dd HH:mm:ss}] %-5p %m %n > > so I expect only a date, the level, the message and a newline character. > > -- > View this message in context: >

Re: Suppressing stacktrace output

2008-03-20 Thread Tim Watts
logged. How are > > you configuring the console appender? > > > > > > I thought so too. But it doesn't seem that's the case. I'm using the > > following pattern: > > > > [%d{-MM-dd HH:mm:ss}] %-5p %m %n > > > > so I expect only

Re: Suppressing stacktrace output

2008-03-20 Thread Maarten Bosteels
u configuring the console appender? > > > I thought so too. But it doesn't seem that's the case. I'm using the > following pattern: > > [%d{-MM-dd HH:mm:ss}] %-5p %m %n > > so I expect only a date, the level, the message and a newline character. > > --

Re: Suppressing stacktrace output

2008-03-19 Thread jimski
el, the message and a newline character. -- View this message in context: http://www.nabble.com/Suppressing-stacktrace-output-tp16145551p16168549.html Sent from the Log4j - Users mailing list archive at Nabble.com. - To unsu

Re: Suppressing stacktrace output

2008-03-19 Thread James A. N. Stauffer
appropriate filter levels on each appender. > > Does someone have a solution that would allow me to simply turn off > stacktrace output for a specific appender? > > Thanks, > > Jim > > -- > View this message in context: > http://www.n

Suppressing stacktrace output

2008-03-19 Thread jimski
stom message", e); and then set up appropriate filter levels on each appender. Does someone have a solution that would allow me to simply turn off stacktrace output for a specific appender? Thanks, Jim -- View this message in context: http://www.nabble.com/Suppressing-stacktrace-output-tp16