Hey there,

How do you log different categories to different files? Couldn't find it
log4j doco so I am guessing here.

I tried declaring the following in log4j.properties:

log4j.NameOfTheCategory= DEBUG, NameOfTheCategoryFileLog


log4j.appender.NameOfTheCategoryFileLog=org.apache.log4j.FileAppender
log4j.appender.NameOfTheCategoryFileLog.File=../log/somefile.log

..blah blah..

.all other options for that appender


And nothings get logged into those files :(

Know why?

Thanks,
Vladimir




_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to