How to log the content-type??
Hi Someone know how to log the content-type of any request?? Thx - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to log the content-type??
Sort of ... http://jakarta.apache.org/tomcat/tomcat-5.5-doc/catalina/docs/api/org/apache/catalina/valves/AccessLogValve.html But AccessLogValve doesn't support outgoing headers for logging. But a workaround is the create a filter which catches the HttpServletResponse.setContentType and sets the ContentType as a ServletRequestAttribute so you can use this syntax in a custom pattern when declaring the AccessLogVavle. %r{myContentTypeVariable} -Tim Juan Manuel Soler Rincón wrote: Hi Someone know how to log the content-type of any request?? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Log the Content-type
Hi I need to log the content-type of the request in a tomcat web-server, can someone help me with that??? thx - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]