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 2003/12/22 17:25:34 UTC

DO NOT REPLY [Bug 25703] New: - ExtendedLogValve use wrong filename after rotate or checkexits case

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=25703>.
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=25703

ExtendedLogValve use wrong filename after rotate or checkexits case

           Summary: ExtendedLogValve use wrong filename after rotate or
                    checkexits case
           Product: Tomcat 5
           Version: 5.0.16
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: pr@webapp.de


ExtendedLogValve use wrong dateFormater after rotate or checkexists
when used with fileDateFormat="yyyy-MM-dd-HH".

Example:
<Valve className="org.apache.catalina.valves.ExtendedAccessLogValve"
                        directory="logs"
                        prefix="myapps_ext_access_log."
                        suffix=".txt"
                        pattern="date time c-ip x-H(remoteUser) cs-method cs-
uri-stem sc-status bytes c-dns cs(User-Agent) cs(Referer) x-S(Hello)" 
                        resolveHosts="false"
                        fileDateFormat="yyyy-MM-dd-HH"
            		condition="nolog" /> 

I look at code base and found that the wrong formatter are used.
I switch to fileDateFormatter and it works (s. patch).

Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org