On 31 May 2010, at 12:29, Stefan Rainer <[email protected]> wrote:
> Hello, > > we've been using context + logger for redirecting "stdout-logs" > from different servlets to different folders in tomcat 5.0.*: > > <Context docBase="axis" path="/axis" reloadable="true" > swallowOutput="true"> > <Logger className="org.apache.catalina.logger.FileLogger" > directory="logs/axis/" prefix="StdOut_axis_" suffix=".log" > timestamp="true"/> > </Context> > > After upgrading to tomcat 6.*, this log redirects does not work > anymore. > Has anyone a hint or a link to some information how this could be > done in > Tomcat 6? Configuration details have changed since 5.0, please read the docs for Context, Host (and DataSource if applicable). The Logger element is no longer used. The AccessLogValve is now used for request logging. You must configure your own logging for in-app logs, e.g. Log4j. p > thanks, stefan > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
