mirror of
https://gitlab.sectorq.eu/jaydee/omv_backup.git
synced 2025-09-13 04:10:10 +02:00
build
This commit is contained in:
@@ -484,6 +484,7 @@ def backup_job(pl):
|
||||
client2.connect("mqtt.home.lan",1883,60)
|
||||
if "log" in pl:
|
||||
if pl["log"] == "debug":
|
||||
logging.info(f'Debug enabled')
|
||||
LOG_FILE = "omv_backup.log"
|
||||
logging.basicConfig(filename=LOG_FILE, level=logging.DEBUG, format='%(asctime)s : %(levelname)s : %(message)s', datefmt='%m/%d/%Y %I:%M:%S %p')
|
||||
logging.info(f'starting backup job')
|
||||
|
Reference in New Issue
Block a user