ok, works ... thanks :-) > -----Ursprüngliche Nachricht----- > Von: Tim Funk [mailto:funk...@apache.org] > Gesendet: Donnerstag, 19. November 2009 13:38 > An: Tomcat Users List > Betreff: Re: per context access log > > Sorry - (AFAICT) there isn't a way to do that. You have to > configure each one. > > > > -Tim > > Ursula Walenciak wrote: > > Hi, > > > > I'm trying to configure access-logging per context > > by using the AccessLogValve. > > Actually I would like to produce one log-file per context > > but avoid configuring it for each context separately. > > Is there a possibility to place the Valve-Configuration > > <Valve > className="org.apache.catalina.valves.AccessLogValve" > prefix="${context?!}" suffix=".log" > > pattern="combined"/> > > into the default context.xml an chose a prefix such that > > a separate file is generated for each context, not one > common for all contexts? Or is there > > another possibility to reach the desired behaviour? > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org