You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/11/21 03:03:35 UTC

DO NOT REPLY [Bug 14724] New: - [PATCH] AccessLogValve - %{xxx}i implementation AND disable log rotation

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14724>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14724

[PATCH] AccessLogValve - %{xxx}i implementation AND disable log rotation

           Summary: [PATCH] AccessLogValve - %{xxx}i implementation AND
                    disable log rotation
           Product: Tomcat 4
           Version: Nightly Build
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: funkman@joedog.org


This bug report replaces bug enhancement 12145.

This patch allows for the following:
%{xxx}i  xxx is the name of the incoming header
%{xxx}c  xxx is the name of a specific cookie 
%{xxx}r  xxx is an attribute in the ServletRequest 
%{xxx}s  xxx is an attribute in the HttpSession

For %A - uses InetAddress.getLocalHost() instead of hardcoded "127.0.0.1"

Patch also allows access log not be rotated. This is done by adding a new
attribute called rotatable. It defaults to true. If set to false - then the
access log does not rotate. (Which will make a lot of tomcat-users happy)

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>