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

Feature/logging/verbose #93

Merged
merged 4 commits into from
Nov 7, 2019
Merged

Feature/logging/verbose #93

merged 4 commits into from
Nov 7, 2019

Conversation

niezbop
Copy link
Member

@niezbop niezbop commented Nov 6, 2019

Add a Preference to enable or disable verbose mode, to reduce the size of the log files

@niezbop niezbop requested a review from lacostej November 6, 2019 15:00
@niezbop niezbop self-assigned this Nov 6, 2019
@niezbop niezbop force-pushed the feature/logging/verbose branch from 1fa1c55 to 14bfdfa Compare November 7, 2019 10:46
{
previouslyFilteredType = Debug.logger.filterLogType;
Debug.logger.filterLogType = logType;
Copy link
Member

Choose a reason for hiding this comment

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

OK so you are changing all loggers during the time uplift is doing its work.
This also assumes nothing is happening in the background (e.g. threads).

Fine for now, but probably we should just rewrite this log handler by creating a special Logger instance with our file writer in it. It might be more logical.

@niezbop niezbop merged commit e567dfe into master Nov 7, 2019
@niezbop niezbop deleted the feature/logging/verbose branch November 7, 2019 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants