Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problems in Tomcat logging?

Status
Not open for further replies.

kippis

Technical User
May 4, 2002
2
FI
hello,

has someone experienced problems in tomcat logging?

for example, if you add parameter like "directory" to some logger which does not support it, what will be the result?

In my case, I have added some directory="/blabla" parameters to loggers in server.xml, for example like this:

<Logger className=&quot;org.apache.catalina.logger.FileLogger&quot;
directory = &quot;/logs&quot; prefix=&quot;apache_log.&quot; suffix=&quot;.txt&quot;
timestamp=&quot;true&quot;/>

but it seems like tomcat does not log at all anymore but into the catalina.out which does not allow any extra parameters according to documentation.

Which classes allow for example this &quot;directory&quot; parameter and could this be the reason why tomcat does not create any new log files like catalina_log etc?

Thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top