tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J√ľnger @ projektINTER.NET" <juen...@projektinter.net>
Subject writing logfile in webappfolder
Date Wed, 03 Apr 2002 14:33:50 GMT
Hi,

we try to have the logfiles in the webapp-folder WEB-INF/log
my appBase is /home/wwa-m/public_html/docroot/

How to I have to set up the <Logger/>  of the server.xml to work?

I tried:

<Context path="/"
    docBase="/home/wwa-m/public_html/docroot" debug="0"
reloadable="true">
<Logger className="org.apache.catalina.ogger.FileLogger"
   prefix="/home/wwa-m/public_html/docroot/WEB-INF/log/wwa-m." suffix=".log"
    timestamp="true"/>
</Context>

and: prefix="WEB-INF/log/wwa-m." suffix=".log"
and prefix="WEB-INF/log/wwa-m" suffix=".log"

but something is wrong since the logfile is not beeing written.

Rainer

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message