You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Richard Raquepo <rr...@primeorion.com> on 2003/05/22 03:49:28 UTC
log4j question
im integrating log4j on my struts application.
can i somehow put different prority to log at the same time
example i have this
log4j.rootCategoty=INFO,A1,F1
(basically it means i will log INFO messages only, A1 is my console appender, F1 is my file appender)
can i somehow do a
log4j.rootCategoty=INFO,DEBUG,ERROR,A1,F1
(meaning i will lgo both INFO, DEBUG & ERROR messages)
thanks a lot...
Re: [OT]Re: log4j question
Posted by Richard Raquepo <rr...@primeorion.com>.
ic... ok... thanks....
----- Original Message -----
From: "Vikram Goyal" <v....@uq.edu.au>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Thursday, May 22, 2003 10:23 AM
Subject: [OT]Re: log4j question
> Richard,
>
> This question is better suited on the log4j mailing list than here.
>
> Log levels follow the rule : DEBUG < INFO < WARN < ERROR < FATAL
>
> So if you specify your priority as DEBUG all your other messages will be
> printed.
>
> HTH
> Vikram
>
>
> log4j.rootCategoty=INFO,A1,F1
> (basically it means i will log INFO messages only, A1 is my console
> appender, F1 is my file appender)
>
> can i somehow do a
> log4j.rootCategoty=INFO,DEBUG,ERROR,A1,F1
> (meaning i will lgo both INFO, DEBUG & ERROR messages)
>
> thanks a lot...
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
[OT]Re: log4j question
Posted by Vikram Goyal <v....@uq.edu.au>.
Richard,
This question is better suited on the log4j mailing list than here.
Log levels follow the rule : DEBUG < INFO < WARN < ERROR < FATAL
So if you specify your priority as DEBUG all your other messages will be
printed.
HTH
Vikram
log4j.rootCategoty=INFO,A1,F1
(basically it means i will log INFO messages only, A1 is my console
appender, F1 is my file appender)
can i somehow do a
log4j.rootCategoty=INFO,DEBUG,ERROR,A1,F1
(meaning i will lgo both INFO, DEBUG & ERROR messages)
thanks a lot...
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org