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?
Thoughts?
Jeff
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 tomcat-log4j.properties file just like
jetty, deployer and client. I will be glad to submit
the code.
Thanks
Anita
--- Jeff Genender <[EMAIL PROTECTED]> wrote:
Anita,
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.
Jeff
anita kulshreshtha wrote:
I find it convenient to log only INFO level logs
from
tomcat to geronimo.log and DEBUG level logs to a
separate file. Digester produces too much output
and
it is hard to sift through the logs.
Thanks
Anita
--- Jeff Genender <[EMAIL PROTECTED]>
wrote:
Anita,
Can you be more specific in your question? Are
you
saying you want a Tomcat
log to go to another log file?
Jeff
-----Original Message-----
From: anita kulshreshtha
[mailto:[EMAIL PROTECTED]
Sent: Monday, May 23, 2005 3:07 AM
To: dev@geronimo.apache.org
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.
TIA
Anita
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new Resources site
http://smallbusiness.yahoo.com/resources/
--
Jeff Genender
http://geronimo.apache.org