tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Whitcomb, Roger" <Roger.Whitc...@ca.com>
Subject RE: server.xml question
Date Tue, 30 Apr 2002 18:59:14 GMT
Depends on exactly what level you defined "Logger" at.  If defined at the
"Engine" level, you will get very few messages (mostly startup and shutdown
of the servlet container) (normally in 'catalina.log.xxx.txt' files):
2002-04-01 22:28:37 Ajp13Processor[8009][4] Stopping background thread
2002-04-01 22:28:37 Ajp13Processor[8009][3] Stopping background thread
2002-04-01 22:28:37 Ajp13Processor[8009][2] Stopping background thread
2002-04-01 22:28:37 Ajp13Processor[8009][1] Stopping background thread
2002-04-01 22:28:37 Ajp13Processor[8009][0] Stopping background thread
2002-04-01 22:28:37 Ajp13Connector[8009] Stopping background thread
2002-04-01 22:28:53 HttpConnector Opening server socket on all host IP
addresses
2002-04-01 22:29:12 HttpConnector[8080] Starting background thread
2002-04-01 22:29:12 HttpProcessor[8080][0] Starting background thread
2002-04-01 22:29:12 HttpProcessor[8080][1] Starting background thread
2002-04-01 22:29:12 HttpProcessor[8080][2] Starting background thread

However, if you define the Logger at the "Host" level, then you get MUCH
more (every access to that host) (normally in 'hostname_log.xxx.txt' files):
127.0.0.1 - - [26/Mar/2002:09:23:51 -0800] "GET /login.jsp HTTP/1.1" 200
4406
127.0.0.1 - - [26/Mar/2002:09:23:51 -0800] "GET /testit.jpg HTTP/1.1" 304 -
127.0.0.1 - - [26/Mar/2002:09:23:51 -0800] "GET /testit2.jpg HTTP/1.1" 304 -
127.0.0.1 - - [26/Mar/2002:09:23:53 -0800] "GET /tomcat-power.gif HTTP/1.1"
304 -

The default server.xml should have both levels of Logger defined in there.
Look at all the definitions . . . .

Roger Whitcomb
Computer Associates
Senior Software Engineer
Development
Phone: +1 408 965 8653
FAX: +1 408 965 8805
roger.whitcomb@ca.com <mailto:roger.whitcomb@ca.com> 


-----Original Message-----
From: rainer j√ľnger [mailto:juenger@projektinter.net]
Sent: Tuesday, April 30, 2002 11:52 AM
To: Tomcat Users List
Subject: Re: server.xml question



Hi Roger,



> - Are the permissions set correctly for your directory?
that was the reason (stupid me!)
chmod 777 ... solved the problem

is it normal that there are only very view infos being writen in?? I thougt
it is also the access log and the error log?
Sofar there are only infos concerning starting and stopping the container
(of course that doesn't proove weather errors are logged or not!)

thanks, rainer



--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message