Commit
·
626dedf
1
Parent(s):
23a018d
Remove 'INFO:' from a few log strings
Browse files- whisper_online_server.py +4 -4
whisper_online_server.py
CHANGED
|
@@ -202,13 +202,13 @@ with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
|
|
| 202 |
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
| 203 |
s.bind((args.host, args.port))
|
| 204 |
s.listen(1)
|
| 205 |
-
logging.info('
|
| 206 |
while True:
|
| 207 |
conn, addr = s.accept()
|
| 208 |
-
logging.info('
|
| 209 |
connection = Connection(conn)
|
| 210 |
proc = ServerProcessor(connection, online, min_chunk)
|
| 211 |
proc.process()
|
| 212 |
conn.close()
|
| 213 |
-
logging.info('
|
| 214 |
-
logging.info('
|
|
|
|
| 202 |
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
| 203 |
s.bind((args.host, args.port))
|
| 204 |
s.listen(1)
|
| 205 |
+
logging.info('Listening on'+str((args.host, args.port)))
|
| 206 |
while True:
|
| 207 |
conn, addr = s.accept()
|
| 208 |
+
logging.info('Connected to client on {}'.format(addr))
|
| 209 |
connection = Connection(conn)
|
| 210 |
proc = ServerProcessor(connection, online, min_chunk)
|
| 211 |
proc.process()
|
| 212 |
conn.close()
|
| 213 |
+
logging.info('Connection to client closed')
|
| 214 |
+
logging.info('Connection closed, terminating.')
|