Re: log4j questions
Re: log4j questions
- Subject: Re: log4j questions
- From: William Hatch <email@hidden>
- Date: Wed, 15 Sep 2004 12:25:20 -0400
Thanks Jean-Francois, I tried this and it still isn't working as expected.
I get all levels except debug, and it ignores the formatting I set in the
properties file as well. I'm using appendToResponse in the application
class just as a means to test this out with. If or when you run your app in
dev mode, do you check the url or path that you're getting from
WOResourceManager? Just curious what yours looks like. Mine is
file:/Users/bill/mlprojects/ProductionOrder/log4j.properties which seems
like it should be correct. Thanks again for the reply; I'm expecting the
giant log4j light bulb at any moment;-)
Jean-François Veillette9/15/04 8:16 email@hidden
> I'm not a log4j expert, but I'll give you what is working for me ...
>
> add/modify these lines in log4j.properties :
> log4j.rootCategory=DEBUG, appAppender
> log4j.logger.appLogger=DEBUG
>
> At runtime, you can change that last line to change the log level for
> appLogger.
>
> PS: the appendToResponse part is not needed for log4j's basic to be
> working. at least, I've never used it.
>
> enjoy !
--
William Hatch
Eng. Visual Media Collection
Cornell Lab of Ornithology
Macaulay Library
Voice (607) 254-2116
Fax (607) 254-2439
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden