O ok got it, RTFE
You have to declare categories as:
log4j.category.NameOfTheCategory
Cheers,
Vladimir
On 2001.07.07 20:30 Vladimir Blagojevic wrote:
> 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
>
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user