logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James A. N. Stauffer" <stauffer.ja...@gmail.com>
Subject Re: Suppressing stacktrace output
Date Fri, 21 Mar 2008 16:44:45 GMT
Try removing the %n and anything else after %m.

On Wed, Mar 19, 2008 at 6:26 PM, jimski <jimkski@gmail.com> wrote:
>
>  Hi James-
>
>
>
>  I think the layout determines if the stack trace is 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{yyyy-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: http://www.nabble.com/Suppressing-stacktrace-output-tp16145551p16168549.html
>
>
> Sent from the Log4j - Users mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
>  For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>



-- 
James A. N. Stauffer http://www.geocities.com/stauffer_james/
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message