Skip to content

Add logging parameters to config.txt#22

Merged
crwood merged 2 commits intomainfrom
logging-config
Oct 4, 2022
Merged

Add logging parameters to config.txt#22
crwood merged 2 commits intomainfrom
logging-config

Conversation

@crwood
Copy link
Copy Markdown
Member

@crwood crwood commented Oct 4, 2022

This PR exposes the default logging configuration values to config.txt, allowing them to be more easily tuned (and removes the old configuration related to the in-memory/deque-based log-handler which, after gridsync/gridsync#570 are ignored).

crwood added 2 commits October 4, 2022 09:43
The "log_maxlen" value of the "debug" section was used to tune the
maximum amount of log messages that would be buffered into the log
deque. With gridsync/gridsync#570, however,
logs are persisted to disk (rather than buffered into memory) and
the "[debug]log_maxlen" value is ignored.
@crwood crwood merged commit 305dd25 into main Oct 4, 2022
@crwood crwood deleted the logging-config branch October 4, 2022 14: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.

1 participant