Re: log4j questions
Re: log4j questions
- Subject: Re: log4j questions
- From: Jean-François Veillette <email@hidden>
- Date: Wed, 15 Sep 2004 13:07:45 -0400
Yes the path returned seems right, in dev mode, woresourcemanager will
return file: type url relative to your sources, not the build product.
At that point, I won't be much help, my log4j knowledge is pretty
minimal and my setup is working so I didn't have to investigate much
myself, so now I can't really help you to debug your setup.
anyone with real log4j knowledge would like to chime in ?
- jfv
Le 04-09-15, à 12:25, William Hatch a écrit :
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:
email@hidden
This email sent to email@hidden
_______________________________________________
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