On Tue, Oct 29, 2002 at 08:57:42AM -0500, Will Jaynes wrote:
> Well, this seems silly, but... I can't figure out how to control the 
> logging that OJB does. I've worked with the OJB.properties file but 
> can't seem to get sensible results.
> 
> I use Log4j, so if I use the Log4jLoggerImpl, setting 
> "log4j.category.org.apache=ERROR" in log4j.properties should stop most 
> loggin from OJB, but it doesn't. Other categories don't do anything 
> either. I can only stop all the OBJ logging by setting 
> "log4j.rootCategory=ERROR". This rootCategory setting shouldn't be 
> necessary.

i use log4j too, and setting 
log4j.logger.org.apache.ojb=error
in log4j.properties does the job pretty well.

Maybe using logger instead of category is the solution ?

hth,
Jens


--
To unsubscribe, e-mail:   <mailto:ojb-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ojb-user-help@;jakarta.apache.org>

Reply via email to