|
@@ -22,9 +22,9 @@ def help_msg():
|
22
|
22
|
|
23
|
23
|
|
24
|
24
|
if __name__ == '__main__':
|
25
|
|
- report.appLoggingConfigure(os.path.dirname(__file__), 'logfile', config.loggers)
|
|
25
|
+ report.appLoggingConfigure(os.path.dirname(__file__), config.LOGTARGET, ((config.APP_NAME, 'DEBUG'), ), fmt=config.formatter, host=config.LOGHOST, port=config.LOGPORT)
|
26
|
26
|
c = tcp_socket.tcp_client_stp(config.server_ip, config.server_port)
|
27
|
|
- prot = protocol.my_client_protocol(c, secret=config.secret)
|
|
27
|
+ prot = protocol.my_client_protocol(c, secret=config.secret, channel_name='leyk')
|
28
|
28
|
target_dict = {
|
29
|
29
|
'bakehouse': [prot.DID_BAKE_HOUSE, ],
|
30
|
30
|
'bakery': [prot.DID_BAKERY, ],
|