logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Moore <jim.mo...@veritas.com>
Subject RE: Restricting the message to the category specified...
Date Tue, 06 Mar 2001 01:54:41 GMT
1) You always only log to the Category you ask to log to.  I think you might
be confusing Categories and Appenders.

2) http://jakarta.apache.org/log4j/docs/FAQ.html#filterByPriority

-Jim Moore

-----Original Message-----
From: Nirmala Rajaram [mailto:nrajaram@idini.com]
Sent: Monday, March 05, 2001 6:27 PM
To: 'log4j-user@jakarta.apache.org'
Subject: Restricting the message to the category specified... 


Iam a new user to log4j.
I would to clarify on two things.
1. Can i restrict the log output to the category specified in the
configuration file.
for ex if i have a category com.abc specified in the configuration
file. The output should be logged only for this category and
not for anyother category.

2.How to restrict the log output for one particular priority. For
instance i would like to log the output for messages having thier
priority as DEBUG and not for anyother priority.


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

Mime
View raw message