i have a server.xml configured with the following Host element:
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="catalina_log." suffix=".txt"
timestamp="true"/>
<Host name="192.168.100.152" debug="0" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Context path="/manager" debug="0" privileged="true"
docBase="/usr/local/tomcat5/server/webapps/manager">
<Realm className="org.apache.catalina.realm.MemoryRealm" />
</Context>
<Context path="/admin" debug="0" privileged="true"
docBase="/usr/local/tomcat5/server/webapps/admin">
<Realm className="org.apache.catalina.realm.MemoryRealm" />
</Context>
</Host>
when tomcat starts up, it deploys all the webapps found in appBase. it
uses the global logger defined catalina_log.xxx.txt...
is it possible, using the DefaultContext or otherwise to have individual
loggers for each auto-deployed *without* adding a
<Context path="webapp1">
<Logger prefix="webapp1." suffix=".log" />
</Context>
in server.xml? is there something like
<DefaultContext>
<Logger prefix="$auto-deploy-webapp" suffix=".log" />
</DefaultContext>
or conceptually similiar way to achieve this result? i do not want to
add the individual <Context> entries into server.xml....
thanks in advance for any pointers.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]