From eef7f0251279bb1e2ea53e1cc4b5c5358a7bd714 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Mon, 16 Mar 2020 15:19:29 +0100 Subject: [PATCH] more informations --- script/server.py | 1 + src/risotto/logger.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/script/server.py b/script/server.py index a94dc78..d6b37b7 100644 --- a/script/server.py +++ b/script/server.py @@ -6,6 +6,7 @@ if __name__ == '__main__': loop = get_event_loop() loop.run_until_complete(get_app(loop)) try: + print('HTTP server ready') loop.run_forever() except KeyboardInterrupt: pass diff --git a/src/risotto/logger.py b/src/risotto/logger.py index ae9f89e..dcbc94e 100644 --- a/src/risotto/logger.py +++ b/src/risotto/logger.py @@ -71,7 +71,7 @@ class Logger: else: paths_msg = '' 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, paths_msg, risotto_context,