Merge branch 'multi-deployment' of dl6tom.de:public/ticketfrei into multi-deployment

master
b3yond 2018-03-29 00:31:38 +02:00
commit 645a17bbcd
2 changed files with 2 additions and 4 deletions

View File

@ -9,9 +9,8 @@ import time
if __name__ == '__main__':
logpath = config['logging']['logpath']
logger = logging.getLogger()
fh = logging.FileHandler(logpath)
fh = logging.StreamHandler()
fh.setLevel(logging.DEBUG)
logger.addHandler(fh)

View File

@ -151,9 +151,8 @@ def login_mastodon(user):
return dict(error='Login to Mastodon failed.')
logpath = config['logging']['logpath']
logger = logging.getLogger()
fh = logging.FileHandler(logpath)
fh = logging.StreamHandler()
fh.setLevel(logging.DEBUG)
logger.addHandler(fh)