aboutsummaryrefslogtreecommitdiffstats
path: root/backend
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2020-10-11 15:06:27 +0200
committerPapoteur <papoteur@mageia.org>2020-10-11 15:06:27 +0200
commit9f6a29921badb2257aa5dffd27976e705537e318 (patch)
treef24daff1122022eb510f6de2b61c2d7fb487752a /backend
parent6e065bfa3c95d8304563eb4cf8148191c51c6c91 (diff)
downloadisodumper-9f6a29921badb2257aa5dffd27976e705537e318.tar
isodumper-9f6a29921badb2257aa5dffd27976e705537e318.tar.gz
isodumper-9f6a29921badb2257aa5dffd27976e705537e318.tar.bz2
isodumper-9f6a29921badb2257aa5dffd27976e705537e318.tar.xz
isodumper-9f6a29921badb2257aa5dffd27976e705537e318.zip
Log with microseconds
Diffstat (limited to 'backend')
-rwxr-xr-xbackend/magiback5
1 files changed, 3 insertions, 2 deletions
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):
"""