additivity in PropertyConfigurator

2003-01-22 Thread Evans Mark-PT1167
I need help setting the additivity in my log4j properties file. (It doesn't seem to be working for me.) I want to log a specific class (logger) to one file, (and in my example below log a second class (logger) to another file), while logging the rest of my classes to a third file (root

RE: additivity in PropertyConfigurator

2003-01-22 Thread Evans Mark-PT1167
... As such, instead of: log4j.category.com.printrak.me4=DEBUG, R4 log4j.additivity.R4=false you want: log4j.category.com.printrak.me4=DEBUG, R4 log4j.aditivity.com.printrak.me4=false |-Original Message- |From: Evans Mark-PT1167 [mailto:[EMAIL PROTECTED]] |Sent

RE: additivity in PropertyConfigurator

2003-01-22 Thread Evans Mark-PT1167
=DEBUG, R4 log4j.additivity.R4=false you want: log4j.category.com.printrak.me4=DEBUG, R4 log4j.aditivity.com.printrak.me4=false |-Original Message- |From: Evans Mark-PT1167 [mailto:[EMAIL PROTECTED]] |Sent: Wednesday, January 22, 2003 1:12 PM

RE: Can groups of classes be assigned independent appenders?

2002-11-06 Thread Evans Mark-PT1167
Yes, this is what I am looking for. Thanks much. However, in your example, the logger should be more like this: logger name=org.myorganization.mypackage.mysubpackage additivity=false level value=debug/ appender-ref ref=A1/ /logger where the level tag precedes the appender-ref

Can groups of classes be assigned independent appenders?

2002-11-05 Thread Evans Mark-PT1167
Can a class or group of classes be assigned to appenders independently from other classes? I'd like to implement a message driven bean in Jboss and I'd like the output of that bean to go to a log file other then the standard application server log. Thanks, Mark -- To unsubscribe, e-mail:

RE: a problem with log4j

2002-04-09 Thread Evans Mark-PT1167
Try running your app with -Dlog4j.configuration=file:///mypath/log4j.config, where mypath is the path to your config file, and log4j.config is your log4j configuration file. --Mark P.S. Here's my log4j.config: log4j.rootCategory=DEBUG, stdout, A1