-
Bug
-
Resolution: Done
-
Major
-
7.1.1.GA
-
None
Undertow DefaultAccessLogReceiver initilizes a new rotate file name with the current date at the start-up. Therefore, access-log rotates to a new file name with an incorrect date string when the access-log rotation happens after restaring the instance.
For example, if the access-log rotation happened after restarting JBoss instance at 2018/04/22, access_log for 2018/04/21 would be rotated to access_log.2018-04-22.log and access_log for 2018/04/22 would be rotated to access_log.2018-04-22-1.log:
$ ls -l standalone/log/access_log* -rw-rw-r--. 1 <user> <group> 69 Apr 20 2018 standalone/log/access_log.2018-04-20.log -rw-rw-r--. 1 <user> <group> 69 Apr 22 2018 standalone/log/access_log.2018-04-22-1.log // this should be access_log.2018-04-22.log -rw-rw-r--. 1 <user> <group> 69 Apr 21 2018 standalone/log/access_log.2018-04-22.log // this should be access_log.2018-04-21.log -rw-rw-r--. 1 <user> <group> 69 Apr 23 2018 standalone/log/access_log.log
- incorporates
-
UNDERTOW-1336 DefaultAccessLogReceiver rotates access log with an incorrect date string when the rotation happens after restarting
- Resolved
- is incorporated by
-
JBEAP-14653 [GSS](7.1.z) Upgrade Undertow from 1.4.18.SP5-redhat-1 to 1.4.18.SP7-redhat-1
- Closed
- links to