summaryrefslogtreecommitdiffstats
path: root/main.py
diff options
context:
space:
mode:
authornico <nico@magicbroccoli.de>2018-11-07 00:49:32 +0100
committernico <nico@magicbroccoli.de>2018-11-07 00:49:32 +0100
commit146a4efc7f9bb97caaa97ddd02f1ce244cb4deb0 (patch)
tree19bb62f443e51cd0af421fdd398d2c53af117d80 /main.py
parentd7fc664d3be4634a693a24fa98ff3f15d2c97c41 (diff)
small fixup
+ added timestamp to logging output * finished up HandleError output
Diffstat (limited to 'main.py')
-rw-r--r--main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.py b/main.py
index 5f8f220..97a1110 100644
--- a/main.py
+++ b/main.py
@@ -176,7 +176,7 @@ if __name__ == '__main__':
args = parser.parse_args()
# logging
- logging.basicConfig(filename=args.logfile, level=logging.INFO, format='%(levelname)-8s %(message)s')
+ logging.basicConfig(filename=args.logfile, level=logging.INFO, format='%(levelname)s: %(asctime)s: %(message)s')
logger = logging.getLogger(__name__)
# configfile