agent/SWSCloudNode/logger.py

9 lines
220 B
Python
Raw Permalink Normal View History

2016-04-20 03:39:25 +03:00
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')