mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-07-01 18:30:34 +00:00
Fix logging.
This commit is contained in:
@ -46,7 +46,7 @@ class DevelopmentConfig(Config):
|
||||
format=log_format, datefmt='%Y-%m-%d %H:%M:%S',
|
||||
filemode='w')
|
||||
logger = logging.getLogger(__name__)
|
||||
logger.info('Logging has started with level WARNING.')
|
||||
logger.warning('Logging has started with level WARNING.')
|
||||
|
||||
|
||||
class TestingConfig(Config):
|
||||
@ -77,7 +77,7 @@ class ProductionConfig(Config):
|
||||
format=log_format, datefmt='%Y-%m-%d %H:%M:%S',
|
||||
filemode='w')
|
||||
logger = logging.getLogger(__name__)
|
||||
logger.info('Logging has started with level ERROR.')
|
||||
logger.error('Logging has started with level ERROR.')
|
||||
|
||||
|
||||
config = {
|
||||
|
Reference in New Issue
Block a user