mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2025-12-06 07:12:04 +01:00
43 lines
1,018 B
INI
43 lines
1,018 B
INI
|
|
# -*- coding: utf-8 -*-
|
||
|
|
# ____ ____ ______ __ __ __ _____
|
||
|
|
# / __ )/ __ \/ ___/ | / /___ _/ /______/ /_ |__ /
|
||
|
|
# / __ / / / /\__ \| | /| / / __ `/ __/ ___/ __ \ /_ <
|
||
|
|
# / /_/ / /_/ /___/ /| |/ |/ / /_/ / /_/ /__/ / / / ___/ /
|
||
|
|
#/_____/\____//____/ |__/|__/\__,_/\__/\___/_/ /_/ /____/
|
||
|
|
# German BOS Information Script
|
||
|
|
# by Bastian Schroll
|
||
|
|
|
||
|
|
[loggers]
|
||
|
|
keys=root
|
||
|
|
|
||
|
|
[logger_root]
|
||
|
|
handlers=screen,file
|
||
|
|
level=NOTSET
|
||
|
|
|
||
|
|
[formatters]
|
||
|
|
keys=simple,complex
|
||
|
|
|
||
|
|
[formatter_simple]
|
||
|
|
format=%(asctime)s - %(module)-12s [%(levelname)-8s] %(message)s
|
||
|
|
datefmt=%d.%m.%Y %H:%M:%S
|
||
|
|
|
||
|
|
[formatter_complex]
|
||
|
|
format=%(asctime)s - %(module)-12s %(funcName)-15s [%(levelname)-8s] %(message)s
|
||
|
|
datefmt=%d.%m.%Y %H:%M:%S
|
||
|
|
|
||
|
|
[handlers]
|
||
|
|
keys=file,screen
|
||
|
|
|
||
|
|
[handler_file]
|
||
|
|
class=handlers.TimedRotatingFileHandler
|
||
|
|
interval=midnight
|
||
|
|
backupCount=7
|
||
|
|
formatter=complex
|
||
|
|
level=DEBUG
|
||
|
|
args=('log/server.log',)
|
||
|
|
|
||
|
|
[handler_screen]
|
||
|
|
class=StreamHandler
|
||
|
|
formatter=simple
|
||
|
|
level=DEBUG
|
||
|
|
args=(sys.stdout,)
|