Added log message on session start.

This commit is contained in:
Michael Lazar
2016-06-23 22:52:54 -07:00
parent d81c981dbf
commit a2a0001943

View File

@@ -78,6 +78,7 @@ def main():
level=logging.DEBUG,
filename=config['log'],
format='%(asctime)s:%(levelname)s:%(filename)s:%(lineno)d:%(message)s')
_logger.info('Starting new session, RTV v{}'.format(__version__))
else:
# Add an empty handler so the logger doesn't complain
logging.root.addHandler(logging.NullHandler())