apache / apache/logging-log4j2
LastModifiedTime of compressed file is not preserved
Open
appenders:Rolling
enhancement
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.7k
- Avg merge
- 21h 30m
- Merged PRs (30d)
- 27
Description
## Description
I am using the RollingFileAppender with GZ compression, I have observed that renaming of the file is done correctly but after the compression the modified time is not preserved for the compressed file.
unlike in gzip or logrotate it preserve the Modified time from source.
is there any way to configure this, as per code POSIX action only have file permission, owner and group settings.
There is no explicit way of having same timestamp as source.
## Configuration
**Version:** [Log4j version]
2.17.1
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.