agent/SWSCloudNode/logger.py
2016-04-20 03:39:25 +03:00

8 lines
220 B
Python

import logging
FORMAT = '%(asctime)-15s NODEAGENT %(levelname)s: %(message)s'
logging.basicConfig(format=FORMAT)
# logger = logging.getLogger('tcpserver')
# logger.warning('Protocol problem: %s' % 'connection reset')