You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2020/04/07 11:39:05 UTC
[Bug 64321] New: rotatelogs: preserve log messages in case of
rotation
https://bz.apache.org/bugzilla/show_bug.cgi?id=64321
Bug ID: 64321
Summary: rotatelogs: preserve log messages in case of rotation
Product: Apache httpd-2
Version: 2.4.43
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: support
Assignee: bugs@httpd.apache.org
Reporter: gigranata@gmail.com
Target Milestone: ---
Created attachment 37153
--> https://bz.apache.org/bugzilla/attachment.cgi?id=37153&action=edit
patch for rotatelogs - 2.4.43
I noticed that the ROTATELOGS program loses messages in case you pass the -n
option.
For simplicity I indicate FILE_NAME the file passed as input to ROTATE_LOGS.
When I start Apache, rotatelogs always restarts from FILE_NAME even if the last
write occurred in the FILE_NAME.x file (with 0 <x <n).
With the proposed modification, carried out on Apache version 2.4.39, the last
modified file is checked in chronological order and the process starts in
append on that file.
The error is present from version 2.4.37 (probably earlier) to 2.4.43.
In attach the patch obtained from version 2.4.43
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 64321] rotatelogs: preserve log messages in case of rotation
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64321
Rich Bowen <rb...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WONTFIX
Status|NEW |RESOLVED
--- Comment #1 from Rich Bowen <rb...@apache.org> ---
Thank you for your report. As part of an effort to clean up our issue tracker,
we are closing tickets that have seen no activity for more than 5 years. If
this issue is still relevant to a current version of Apache httpd (2.4.x or
trunk), please reopen this ticket or open a new one with updated information.
We appreciate your contribution to the project.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org