You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by "Rowe, Richard A." <RI...@saic.com> on 2009/07/08 18:46:24 UTC

Logging configuration for Wicket - Newbie

I am trying to get my logging configured for a Wicket application. I am
using SLF4J and LOG4J. I have configured two appenders (Console and
File). I am noticing that all Wicket rendering statements are going to
my log file (INFO, DEBUG, etc). This is not desirable. How do I turn
this off? Thanks.

 

 

Richard

 

 

 


RE: Logging configuration for Wicket - Newbie

Posted by "Rowe, Richard A." <RI...@saic.com>.
Thanks, Maarten. Richard

________________________________

From: users-return-39497-RICHARD.A.ROWE=saic.com@wicket.apache.org on behalf of Maarten Bosteels
Sent: Wed 7/8/2009 4:37 PM
To: users@wicket.apache.org
Subject: Re: Logging configuration for Wicket - Newbie



http://logging.apache.org/log4j/1.2/manual.html

Hint:  Setting your your root logger on WARN and explicitly lower the level
for specific loggers (eg your own classes) is easier than trying the
opposite.

log4j.rootLogger=WARN
log4j.logger.org.apache.wicket=INFO


Maarten

On Wed, Jul 8, 2009 at 6:46 PM, Rowe, Richard A. <RI...@saic.com>wrote:

> I am trying to get my logging configured for a Wicket application. I am
> using SLF4J and LOG4J. I have configured two appenders (Console and
> File). I am noticing that all Wicket rendering statements are going to
> my log file (INFO, DEBUG, etc). This is not desirable. How do I turn
> this off? Thanks.
>
>
>
>
>
> Richard
>
>
>
>
>
>
>
>




Re: Logging configuration for Wicket - Newbie

Posted by Maarten Bosteels <mb...@gmail.com>.
http://logging.apache.org/log4j/1.2/manual.html

Hint:  Setting your your root logger on WARN and explicitly lower the level
for specific loggers (eg your own classes) is easier than trying the
opposite.

log4j.rootLogger=WARN
log4j.logger.org.apache.wicket=INFO


Maarten

On Wed, Jul 8, 2009 at 6:46 PM, Rowe, Richard A. <RI...@saic.com>wrote:

> I am trying to get my logging configured for a Wicket application. I am
> using SLF4J and LOG4J. I have configured two appenders (Console and
> File). I am noticing that all Wicket rendering statements are going to
> my log file (INFO, DEBUG, etc). This is not desirable. How do I turn
> this off? Thanks.
>
>
>
>
>
> Richard
>
>
>
>
>
>
>
>