Skip to content

Conversation

@zakk616
Copy link

@zakk616 zakk616 commented Aug 21, 2024

When logfile_size_limit is used the log rotation creates new log files and renames old ones by adding a suffix:

.yyyy.mm.dd.hh.mm.ss.micros

the file extension becomes difficult to configure for compressing and archiving based on file extension using tools such as logrotate

Logs will now be backed up with an extension of .log. so these files can be compressed or moved to archiveing paths based on file extensions.

Before:

nats-server.log
nats-server.log.2024.08.21.14.37.57.558600300
nats-server.log.2024.08.21.14.40.28.743600300

After:

nats-server.log
nats-server.2024.08.21.14.37.57.558600300.log
nats-server.2024.08.21.14.40.28.743600300.log

@zakk616 zakk616 requested a review from a team as a code owner August 21, 2024 16:21
@github-actions github-actions bot added the stale This issue has had no activity in a while label Oct 18, 2024
@neilalexander
Copy link
Member

@ripienaar Any thoughts on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale This issue has had no activity in a while

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants