added version information to logging
authorCalin Crisan <ccrisan@gmail.com>
Sun, 31 May 2015 12:55:35 +0000 (15:55 +0300)
committerCalin Crisan <ccrisan@gmail.com>
Sun, 31 May 2015 12:55:35 +0000 (15:55 +0300)
motioneye.py

index 13a479127a6de8c74dc0b3ced74ad7b03d4090bf..394847af68cdad8115e42bb5e034f7f155b2011e 100755 (executable)
@@ -391,6 +391,8 @@ if __name__ == '__main__':
     _configure_logging()
     _configure_tornado()
     
+    logging.info('hello! this is motionEye %s' % VERSION)
+    
     if settings.SMB_SHARES:
         stop, start = smbctl.update_mounts()
         if start:
@@ -406,3 +408,5 @@ if __name__ == '__main__':
         _start_thumbnailer()
 
     _run_server()
+
+    logging.info('bye!')
\ No newline at end of file