mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2025-12-06 07:42:03 +01:00
edit Log format
This commit is contained in:
parent
0bef06c2ad
commit
ec7e695761
|
|
@ -15,7 +15,6 @@ logger = logging.getLogger()
|
|||
logger.setLevel(logging.DEBUG)
|
||||
|
||||
#set log string format
|
||||
formatter = logging.Formatter('%(asctime)s - %(module)s - %(levelname)s: %(message)s', '%d.%m.%Y %I:%M:%S')
|
||||
|
||||
#create a file loger
|
||||
fh = logging.FileHandler('boswatch.log', 'w')
|
||||
|
|
|
|||
Loading…
Reference in a new issue