more informations

This commit is contained in:
Emmanuel Garette 2020-03-16 15:19:29 +01:00
parent 963fe2a9b6
commit eef7f02512
2 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@ if __name__ == '__main__':
loop = get_event_loop() loop = get_event_loop()
loop.run_until_complete(get_app(loop)) loop.run_until_complete(get_app(loop))
try: try:
print('HTTP server ready')
loop.run_forever() loop.run_forever()
except KeyboardInterrupt: except KeyboardInterrupt:
pass pass

View File

@ -71,7 +71,7 @@ class Logger:
else: else:
paths_msg = '' paths_msg = ''
if get_config()['global']['debug']: if get_config()['global']['debug']:
print(_(f'{risotto_context.username}: INFO:{paths_msg}')) print(_(f'{risotto_context.username}: INFO:{paths_msg}: {msg}'))
await self.insert(msg, await self.insert(msg,
paths_msg, paths_msg,
risotto_context, risotto_context,