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

[MM-54170] Automatically set the logging level to info if not specified #2811

Merged
merged 2 commits into from
Sep 1, 2023

Conversation

devinbinnie
Copy link
Member

Summary

New installations did not have a default logging level set, so electron-log was defaulting to silly which was logging all keystrokes and a lot of other noise, which could fill up a user's hard drive.

This PR makes sure to set the default config item to info and to set the log level to info when the app starts by default in case the user (or some other source) removes the config item.

Ticket Link

https://mattermost.atlassian.net/browse/MM-54170

Fixed an issue where the default logging level was `silly` for all new installs

@devinbinnie devinbinnie added the 2: Dev Review Requires review by a core committer label Aug 29, 2023
@devinbinnie devinbinnie added this to the v5.5.0 milestone Aug 29, 2023
@devinbinnie devinbinnie requested review from marianunez and removed request for M-ZubairAhmed September 1, 2023 15:48
@devinbinnie devinbinnie added 4: Reviews Complete All reviewers have approved the pull request and removed 2: Dev Review Requires review by a core committer labels Sep 1, 2023
@devinbinnie devinbinnie merged commit 0687245 into mattermost:master Sep 1, 2023
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4: Reviews Complete All reviewers have approved the pull request release-note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants