Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jun 8, 2023

Conversation

mnaamani
Copy link
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

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

Copy link
Contributor

@ignazio-bovo ignazio-bovo 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