From 9f6a29921badb2257aa5dffd27976e705537e318 Mon Sep 17 00:00:00 2001 From: Papoteur Date: Sun, 11 Oct 2020 15:06:27 +0200 Subject: Log with microseconds --- backend/magiback | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'backend/magiback') diff --git a/backend/magiback b/backend/magiback index 2ad748b..7deab33 100755 --- a/backend/magiback +++ b/backend/magiback @@ -10,8 +10,9 @@ import logging DEAMON_ORG = 'org.mageia.Magiback' DEAMON_INTERFACE = DEAMON_ORG ISODUMPER_INTERFACE = DEAMON_ORG + ".Isodumper" -logging.basicConfig(filename="/var/log/magiback.log",format='%(asctime)s %(levelname)-8s %(message)s', - datefmt='%Y-%m-%d %H:%M:%S',level=logging.DEBUG) +logging.basicConfig(filename="/var/log/magiback.log", + format='%(asctime)s %(levelname)-8s %(message)s', + level=logging.DEBUG) class Isodumper(raw_write.Dumper): """ -- cgit v1.2.1