.
--
View this message in context:
http://www.nabble.com/Tomcat-5.5-logging-config-elegant---Not-so-much%2C-I-think.-tp25966929p25966929.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To unsubscribe
I just killed most of the afternoon trying (and failing) to get Tomcat 5.5
logging configured for just pretty basic sensible (to me, at least) output.
I'm running Ubuntu. I installed Tomcat 5.5 via aptitude (the Ubuntu
package-fetcher/installer).
Symptoms:
- a lingering System.out.println
larrydlefever wrote:
...
a lot of things which I generally support.
It's been a while since I've ranted here about Tomcat logging
methodology, but I feel this may be the right moment to recant (on my
non-ranting I mean) and support your posting.
(And sorry to hijack a bit, I'll start a new
I am installing Tomcat 5.5.27 on Windows XP as the servlet container for
a Spring MVC app we will be hosting. I have installed many older
versions of Tomcat with no problems but I'm stuck on this installation.
In older Tomat versions when an application is started, in my case a
Spring based
: Tomcat 5.5 logging confusion
I am installing Tomcat 5.5.27 on Windows XP as the servlet container for
a Spring MVC app we will be hosting. I have installed many older
versions of Tomcat with no problems but I'm stuck on this installation.
In older Tomat versions when an application
From: Wm.A.Stafford [mailto:[EMAIL PROTECTED]
Subject: Tomcat 5.5 logging confusion
I am installing Tomcat 5.5.27 on Windows XP as the servlet
container for a Spring MVC app we will be hosting.
Are you running Tomcat as a service or from the command line? I'd recommend
doing it from
Shahar Cohen wrote:
Hi,
I am trying to set my tomcat log format so it will be TAB delimited but
instead its
Printing the logs as spaces delimited and not TAB.
Do I need to configure any other parameters between the common
parameters so it will separate the parameters with tab.
My
have tries to use the \t '\t' and all of its variation but without any
success.
Any other recommendation will be very appreciated.
thanks
-Original Message-
From: André Warnier [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 23, 2008 3:04 PM
To: Tomcat Users List
Subject: Re: Tomcat 5.5
Users List
Subject: Re: Tomcat 5.5 logging!
Shahar Cohen wrote:
Hi,
I am trying to set my tomcat log format so it will be TAB delimited but
instead its
Printing the logs as spaces delimited and not TAB.
Do I need to configure any other parameters between the common
parameters so it will separate
I have embedded Tomcat 5.5 into our application. Works great.
Right now it spits way to much information to STDERR by default
including all the INFO from myFaces JSF.
I have read many discussions on how to incorporate log4j etc, to take
control of the logging, but could never get it to work.
you can put the two log jar files in your web app web-inf/lib directory and the
log4j properties in your web app classes directory. make sure your web app
log4j properties file specifies its own log file and log file location. Its
useful and may be good practice to place all log files in the
http://tomcat.apache.org/tomcat-5.5-doc/logging.html
The above page shows that logging-log4j.jar and commong-logging.jar
needs to put in $CATALINA_HOME/common/lib.
If I have two files of jar already in my struts webapp lib,
Why do I still need to place them in $CATALINA_HOME/common/lib?
In
Placing the jars in the common/lib directory makes them available for all web
apps and catalina itself. Placing log4j properties in the common/classes lib
defines log4j behavior for all web apps (cross context). Placing log4j
properties in web-inf/classes overrides cross context log4j
I have done something according to
http://www.oracle.com/technology/products/jdev/tips/mills/Struts-logging.html
I do not put the 2 jars in tomcat common lib.
Instead I keep them in my webapp lib. The result is lots of error message in
tomcat log dir.
If I put a log4j.properties in
14 matches
Mail list logo