You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@logging.apache.org by Zsolt Koppany <zk...@intland.com> on 2004/12/02 11:39:47 UTC
How to send messages of a class into one and only to one appender with log4j?
Hi,
How can I store the log messages of "cv.parser_db_log" only to appender
"parser_db_file"? Right now messages sent to "parser_db_file" will be also
stored into "A2" and "A1".
I use log4j-1.2.8.
My configuration:
log4j.rootCategory=DEBUG, A2, A1
...
log4j.category.cv.parser_db_log=INFO,parser_db_file
Zsolt