Reduce log level

WARNING and higher are sent to Sentry, which isn't necessary here.
This commit is contained in:
2018-03-27 11:48:57 +02:00
parent 12272750c3
commit 318ccb2d95

View File

@@ -46,9 +46,9 @@ def force_cli_user():
'email': 'local@nowhere', 'email': 'local@nowhere',
'username': 'CLI', 'username': 'CLI',
}) })
log.warning('CONSTRUCTED CLI USER %s of type %s', id(CLI_USER), id(type(CLI_USER))) log.info('CONSTRUCTED CLI USER %s of type %s', id(CLI_USER), id(type(CLI_USER)))
log.warning('Logging in as CLI_USER (%s) of type %s, circumventing authentication.', log.info('Logging in as CLI_USER (%s) of type %s, circumventing authentication.',
id(CLI_USER), id(type(CLI_USER))) id(CLI_USER), id(type(CLI_USER)))
g.current_user = CLI_USER g.current_user = CLI_USER