Add config.log_debug property
MODIFY
plextraktsync/config.py
plextraktsync/config.py
@@ -135,6 +135,10 @@ def log_file(self):
return join(log_dir, self["logging"]["filename"])
+ @property
+ def log_debug(self):
+ return ("log_debug_messages" in self and self["log_debug_messages"]) or self["logging"]["debug"]
+
def initialize(self):
"""
Config load order:

Add config.log_debug property