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

fix(dgw): size-based log rotation #393

Merged
merged 2 commits into from
Mar 6, 2023
Merged

fix(dgw): size-based log rotation #393

merged 2 commits into from
Mar 6, 2023

Conversation

CBenoit
Copy link
Member

@CBenoit CBenoit commented Mar 4, 2023

Set a maximum size of 3 MB for each file and a maximum of 10 log files.
With this change, Devolutions Gateway should never consume more than 30 MB for its logs.

Issue: DGW-34

A pull request was opened in tracing repository: tokio-rs/tracing#2497
Until it’s merged, tracing-appender dependency is patched and points to my fork.
Future work includes removing this patch.

@CBenoit CBenoit enabled auto-merge (squash) March 4, 2023 03:34
@CBenoit CBenoit requested review from a team as code owners March 4, 2023 03:58
CBenoit added 2 commits March 6, 2023 10:39
Set a maximum size of 3 MB for each file and a maximum of 10 log files.
With this change, Devolutions Gateway should never consume more than
30 MB for its logs.

Issue: DGW-34
@CBenoit
Copy link
Member Author

CBenoit commented Mar 6, 2023

Rebased on master

@CBenoit CBenoit merged commit e3acafc into master Mar 6, 2023
@CBenoit CBenoit deleted the DGW-34 branch March 6, 2023 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants