From 626dedf2f5fdccc4b7ebc586ebecbc00b9396552 Mon Sep 17 00:00:00 2001 From: Alex Young Date: Sun, 14 Apr 2024 19:45:44 +0100 Subject: [PATCH] Remove 'INFO:' from a few log strings --- whisper_online_server.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/whisper_online_server.py b/whisper_online_server.py index 247f68e..59454cf 100644 --- a/whisper_online_server.py +++ b/whisper_online_server.py @@ -202,13 +202,13 @@ with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s: s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.bind((args.host, args.port)) s.listen(1) - logging.info('INFO: Listening on'+str((args.host, args.port))) + logging.info('Listening on'+str((args.host, args.port))) while True: conn, addr = s.accept() - logging.info('INFO: Connected to client on {}'.format(addr)) + logging.info('Connected to client on {}'.format(addr)) connection = Connection(conn) proc = ServerProcessor(connection, online, min_chunk) proc.process() conn.close() - logging.info('INFO: Connection to client closed') -logging.info('INFO: Connection closed, terminating.') + logging.info('Connection to client closed') +logging.info('Connection closed, terminating.')