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 2019/12/30 03:47:08 UTC

[Bug 64040] New: access_log rotated but date error

https://bz.apache.org/bugzilla/show_bug.cgi?id=64040

            Bug ID: 64040
           Summary: access_log rotated but date error
           Product: Tomcat 9
           Version: 9.0.22
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connectors
          Assignee: dev@tomcat.apache.org
          Reporter: 1322825493@qq.com
  Target Milestone: -----

Created attachment 36939
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36939&action=edit
error pic

hi, we used tomcat built-in springboot and configed access log,but since
December 29th,the log file's name is eror.for example
  today is December 29, 2019,but the logs name is
"localhost_access_log.2020-12-29.log" not 
"localhost_access_log.2019-12-29.log",

please help us,Thanks

 In addition,the spring-boot application config is 
server.tomcat.accesslog.enabled=true
server.tomcat.accesslog.pattern=%a %h %l %u %t %r  %s %S %b %D
server.tomcat.accesslog.prefix=localhost_access_log
server.tomcat.accesslog.suffix=.log
server.tomcat.accesslog.file-date-format=.YYYY-MM-dd
server.tomcat.accesslog.rotate=true
server.tomcat.accesslog.directory=logs
server.tomcat.basedir=./

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 64040] access_log rotated but date error

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64040

JerryPlayer <13...@qq.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |CLOSED
             Status|NEW                         |RESOLVED

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org