I solved this problem.
It was not the problem of tomcat.

I just added the following lines into log4j.properties

# Remove org.apache.* logs
log4j.logger.org.apache=WARN

It was because of struts and Digester which is used by struts.

So I change the log level of org.apache.*.

2005/8/3, KwonNam Son <[EMAIL PROTECTED]>:
> I installed a web context to Tomcat 5.0.28 ant the struts 1.2.7 web
> application context includes log4j-1.2.11.jar in WEB-INF/lib and
> log4j.properties in WEB-INF/classes.
> 
> After that, Tomcat shows all it's log messages(include DEBUG) in log4j
> format which is configured in WEB-INF/classes/log4j.properties.
> 
> Because tomcat print all the log messages, it takes too long time to
> start tomcat.
> 
> If I remove log4j-*.jar and log4.properties from the web context,
> Tomcat does not show log messages any more.
> 
> What should I do for preventing the topcat using a web context's log4j.
> 
> Thanks,
> KwonNam.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to