mirror of
https://github.com/mbusb/multibootusb
synced 2024-11-01 15:40:16 +00:00
clean up logging timeformat
This commit is contained in:
parent
580cb84d3b
commit
fd98b9082f
@ -39,7 +39,7 @@ def log(message, info=True, error=False, debug=False):
|
|||||||
os.remove(LOG_FILE_PATH)
|
os.remove(LOG_FILE_PATH)
|
||||||
logging.basicConfig(filename=LOG_FILE_PATH,
|
logging.basicConfig(filename=LOG_FILE_PATH,
|
||||||
filemode='a',
|
filemode='a',
|
||||||
format='%(asctime)s,%(msecs)d %(name)s %(levelname)s %(message)s',
|
format='%(asctime)s.%(msecs)03d %(name)s %(levelname)s %(message)s',
|
||||||
datefmt='%H:%M:%S',
|
datefmt='%H:%M:%S',
|
||||||
level=logging.DEBUG)
|
level=logging.DEBUG)
|
||||||
print(message)
|
print(message)
|
||||||
|
Loading…
Reference in New Issue
Block a user