1234567891011121314151617181920212223242526272829303132333435363738394041 |
-
-
-
- import socket_protocol
- import stringtools
- import task
- import tcp_socket
-
- FULL_SCREEN = False
-
-
-
-
- server_out_secret = None
- server_out_ip = '192.168.0.121'
- server_out_port = 37000
- server_in_secret = None
- server_in_ip = '192.168.0.120'
- server_in_port = 37000
-
- server_garage_secret = None
- server_garage_ip = '192.168.0.13'
- server_garage_port = 10000
-
-
- LOGTARGET = 'stdout'
- SHORT_FMT = "%(asctime)s: %(levelname)-7s - %(message)s"
- """ A short formatter including the most important information"""
- LONG_FMT = """~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- File "%(pathname)s", line %(lineno)d, in %(funcName)s
- %(asctime)s: %(levelname)-7s - %(message)s"""
- """ A long formatter which results in links to the source code inside Eclipse"""
-
- loggers = (
- ('APP', 'DEBUG'),
- (socket_protocol.logger_name, 'WARNING'),
- (stringtools.logger_name, 'WARNING'),
- (task.logger_name, 'WARNING'),
- (tcp_socket.logger_name, 'WARNING'),
- )
- formatter = LONG_FMT
|