When troubleshooting issues, it'd be useful to have a more verbose debug loglevel, so that we can see what thirdparty modules are doing.
assigned to @btasker
The most recent commit adds support for a loglevel attribute so that loglevels can be controlled via the config file:
loglevel
poller: loglevel: "debug"
If omitted, the behaviour remains unchanged: PyP100 will be set to logging.CRITICAL and everything else will use whatever the system wide config is.
PyP100
logging.CRITICAL
Changeset is in PR 7
mentioned in commit github-mirror/tplink_to_influxdb@1f8d7b294a68ac3836971deada1af23469ad5acf
Commit: github-mirror/tplink_to_influxdb@1f8d7b294a68ac3836971deada1af23469ad5acf Author: B Tasker Date: 2023-12-23T10:37:29.000+00:00
feat: add additional debug logging (utilities/tp-link-to-influxdb#11)
mentioned in commit github-mirror/tplink_to_influxdb@fafbfd5de03d6418c96488931de1ac7cbad01a26
Commit: github-mirror/tplink_to_influxdb@fafbfd5de03d6418c96488931de1ac7cbad01a26 Author: B Tasker Date: 2023-12-23T11:42:48.000+00:00
feat: implement support for setting loglevel via config (utilities/tp-link-to-influxdb#11)
This adds support for a loglevel attribute to the poller object.
poller
When omitted, the default behaviour remains unchanged: PyP100 will be set to logging.CRITICAL and everything else will use whatever the system says.
Activity
23-Dec-23 10:30
assigned to @btasker
23-Dec-23 11:47
The most recent commit adds support for a
loglevel
attribute so that loglevels can be controlled via the config file:If omitted, the behaviour remains unchanged:
PyP100
will be set tologging.CRITICAL
and everything else will use whatever the system wide config is.23-Dec-23 11:48
Changeset is in PR 7
04-Aug-24 09:25
mentioned in commit github-mirror/tplink_to_influxdb@1f8d7b294a68ac3836971deada1af23469ad5acf
Message
feat: add additional debug logging (utilities/tp-link-to-influxdb#11)
04-Aug-24 09:25
mentioned in commit github-mirror/tplink_to_influxdb@fafbfd5de03d6418c96488931de1ac7cbad01a26
Message
feat: implement support for setting loglevel via config (utilities/tp-link-to-influxdb#11)
This adds support for a
loglevel
attribute to thepoller
object.When omitted, the default behaviour remains unchanged:
PyP100
will be set tologging.CRITICAL
and everything else will use whatever the system says.