|
@@ -10,7 +10,7 @@ import time
|
10
|
10
|
|
11
|
11
|
|
12
|
12
|
if __name__ == '__main__':
|
13
|
|
- report.appLoggingConfigure(os.path.dirname(__file__), config.LOGTARGET, ((config.APP_NAME, 'DEBUG'), ), fmt=config.formatter, host=config.LOGHOST, port=config.LOGPORT)
|
|
13
|
+ report.appLoggingConfigure(os.path.dirname(__file__), config.LOGTARGET, ((config.APP_NAME, config.LOGLVL), ), fmt=config.formatter, host=config.LOGHOST, port=config.LOGPORT)
|
14
|
14
|
s = tcp_socket.tcp_server_stp(config.server_ip, port=config.server_port)
|
15
|
15
|
prot = protocol.my_server_protocol(s, secret=config.secret)
|
16
|
16
|
while True:
|