geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Genender <>
Subject Re: Logging in Tomcat
Date Fri, 27 May 2005 11:45:26 GMT
Lets get this out for discussion.  AFAIK, currently Jetty does not come 
with these things automatically enabled (correct me if I am wrong but 
did not notice a config for Jetty).  Deployer and client do, but I do 
not see Jetty.

Therefore, I think we need to be consistent...if we make this change, 
then I would assume Jetty need to would also.

So, whats the consensus on this?  Do we allow the web containers to 
automaticlly log to a new file out-of-the-box, or leave it in the 
geronimo.log?  And instead of Tomcat logging to a tomcat.log, would it 
be more prudent to go to a generic web.log, so matter which container 
you use, you know where it will go?



anita kulshreshtha wrote:
> Jeff,
>     Yes it does. By default the Digester should be
> turned off and a comment out line to turn it on. As an
> application developer, I would like my tomcat output
> to be free of gbeans. I also think we should have a
> separate file just like
> jetty, deployer and client. I will be glad to submit
> the code.
> Thanks
> Anita
> --- Jeff Genender <> wrote:
>>I believe a log4j configuration should allow you to
>>do what you want. 
>>You should be able to control certain packages (i.e.
>>Digester) to go to 
>>its own log file and you should be able to set the
>>level of debugging.
>>anita kulshreshtha wrote:
>>>I find it convenient to log only INFO level logs
>>>tomcat to geronimo.log and DEBUG level logs to a
>>>separate file. Digester produces too much output
>>>it is hard to sift through the logs. 
>>>--- Jeff Genender <>
>>>>Can you be more specific in your question?  Are
>>>>saying you want a Tomcat
>>>>log to go to another log file?
>>>>-----Original Message-----
>>>>From: anita kulshreshtha
>>>>Sent: Monday, May 23, 2005 3:07 AM
>>>>Subject: Logging in Tomcat
>>>>Jeff and Jacek,
>>>>   Is there a specific reason/problem because of
>>>>which the digester logs
>>>>are not written to a separate log file.
>>>>Do You Yahoo!?
>>>>Tired of spam?  Yahoo! Mail has the best spam
>>>>protection around
>>>Do You Yahoo!?
>>>Tired of spam?  Yahoo! Mail has the best spam
>>protection around 
> __________________________________ 
> Do you Yahoo!? 
> Yahoo! Small Business - Try our new Resources site

Jeff Genender

View raw message