def configure_logging(cmd, log_to_file=False):
if log_to_file or cmd != 'motioneye':
- format = '%(asctime)s: [{cmd}] %(levelname)7s: %(message)s'.format(cmd=cmd)
+ format = '%(asctime)s: [{cmd}] %(levelname)8s: %(message)s'.format(cmd=cmd)
else:
- format = '%(levelname)7s: %(message)s'.format(cmd=cmd)
+ format = '%(levelname)8s: %(message)s'.format(cmd=cmd)
for h in logging.getLogger().handlers:
logging.getLogger().removeHandler(h)
license='GPLv3',
classifiers=[
- 'Development Status :: 3 - Beta',
+ 'Development Status :: 4 - Beta',
'Intended Audience :: End Users/Desktop',
'Topic :: Multimedia :: Video',
'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
'Programming Language :: Python :: 2',
- 'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7'
],