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

Refactor logging in xknx #428

Merged
merged 3 commits into from
Sep 25, 2020
Merged

Conversation

marvin-w
Copy link
Member

This commit aims to remove some of the tight coupling between XKNX and all our subpackages.
We now use a dedicated logger for every module.

Additionally, when we use XKNX(log_to_file=True) we log each and everything to a dedicated file
called xknx.log that will be kept for 7 days and will be rotated every night.

The default for this is False.

This commit aims to remove some of the tight coupling between XKNX and all our subpackages.
We now use a dedicated logger for every module.

Additionally, when we use `XKNX(log_to_file=True)` we log each and everything to a dedicated file
called xknx.log that will be kept for 7 days and will be rotated every night.

The default for this is False.
@coveralls
Copy link

coveralls commented Sep 25, 2020

Coverage Status

Coverage increased (+0.6%) to 92.784% when pulling a78a35e on marvin-w:feature/refactor_logging into 7104867 on XKNX:master.

docs/xknx.md Outdated Show resolved Hide resolved
xknx/core/state_updater.py Show resolved Hide resolved
xknx/devices/climate.py Show resolved Hide resolved
@marvin-w marvin-w merged commit 1dc9dc2 into XKNX:master Sep 25, 2020
@marvin-w marvin-w deleted the feature/refactor_logging branch September 25, 2020 20:45
@Julius2342
Copy link
Collaborator

A nice change :)

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.

4 participants