import logging

LOG_FORMAT = '[%(name)s] %(levelname)s %(message)s'

logging.basicConfig(format=LOG_FORMAT, level=logging.WARN)
logger = logging.getLogger('yoda-discover')
logger.level = logging.INFO

import logging

LOG_FORMAT = '%(asctime)s [%(name)s] %(levelname)s %(message)s'
LOG_DATE = '%Y-%m-%d %I:%M:%S %p'


logging.basicConfig(format=LOG_FORMAT, datefmt=LOG_DATE, level=logging.WARN)
logger = logging.getLogger('yoda-discover')
logger.level = logging.INFO

--- 
+++ 
@@ -1,9 +1,7 @@
 import logging
 
-LOG_FORMAT = '%(asctime)s [%(name)s] %(levelname)s %(message)s'
-LOG_DATE = '%Y-%m-%d %I:%M:%S %p'
+LOG_FORMAT = '[%(name)s] %(levelname)s %(message)s'
 
-
-logging.basicConfig(format=LOG_FORMAT, datefmt=LOG_DATE, level=logging.WARN)
+logging.basicConfig(format=LOG_FORMAT, level=logging.WARN)
 logger = logging.getLogger('yoda-discover')
 logger.level = logging.INFO
Remove date from log formatting (handled by syslog)
