Skip to content

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

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

mnaamani merged 1 commit into
Joystream:masterfrom
mnaamani:colossus-logs-roation-none

Conversation

@mnaamani

@mnaamani mnaamani commented Jun 6, 2023 •

Copy link
Copy Markdown
Member

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

vercel Bot commented Jun 6, 2023

Copy link
Copy Markdown

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

@dobertRowneySr dobertRowneySr left a comment

Copy link
Copy Markdown
Collaborator

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