Can anyone help us in blogging in particular IP logging in tomcat access log? johnrock wrote: > > I have set up an Access Log in Tomcat 6. Can someone tell me how to limit > access logging to only .jsp's and .html pages? > > I have read numerous posts and it is amazing how many responses there are > to similiar questions that all point to the 'condition' parameter > documentation...which I have thoroughly read. Checking the ServletRequest > for a null attribute, however, does not intuitively appear to be > applicable to filtering requests that are logged based on file extension. > > Can this be done withouth re-writing your application to specifically pass > parameters just to trigger logging? If so, could someone offer an > example? > > Thanks! > > <Host name="localhost" appBase="webapps" > unpackWARs="true" autoDeploy="false" > xmlValidation="false" xmlNamespaceAware="false"> > > <Valve > className="org.apache.catalina.valves.FastCommonAccessLogValve" > directory="logs/access" > prefix="access_log." suffix=".txt" pattern="common" > resolveHosts="false"/> > > </Host> > > -- View this message in context: http://old.nabble.com/How-to-configure-Access-logs-to-ignore-images-tp23714046p31567407.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org