Skip to content

[Colossus] Add option to not rotate logs on time basis#4785

Merged
mnaamani merged 1 commit intoJoystream:masterfrom
mnaamani:colossus-logs-roation-none
Jun 8, 2023
Merged

[Colossus] Add option to not rotate logs on time basis#4785
mnaamani merged 1 commit intoJoystream:masterfrom
mnaamani:colossus-logs-roation-none

Conversation

@mnaamani
Copy link
Copy Markdown
Member

@mnaamani mnaamani commented Jun 6, 2023

Fixes #4781

Added new option none to logFileChangeFrequency argument used to configure frequency of log rotation.
Using this option, log rotation only occurs when the log file grows larger than logMaxFileSize which defaults to 50000000 bytes (~5MB)

-z, --logFileChangeFrequency=(yearly|monthly|daily|hourly|none)

old logs are now compressed, and a symlink to current active logfile is created automatically.

@vercel
Copy link
Copy Markdown

vercel bot commented Jun 6, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
pioneer-testnet ⬜️ Ignored (Inspect) Jun 6, 2023 2:36pm

@mnaamani mnaamani requested a review from dobertRowneySr June 6, 2023 14:36
Copy link
Copy Markdown
Collaborator

@dobertRowneySr dobertRowneySr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mnaamani mnaamani merged commit 08f4c3c into Joystream:master Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Colossus current log file name

2 participants