* fixed syslog logging format
* bumped version to 0.2
This commit is contained in:
parent
3f56297e31
commit
8adf8f14f8
@ -309,7 +309,7 @@ if __name__ == '__main__':
|
||||
log.addHandler(handler)
|
||||
|
||||
handler = logging.handlers.SysLogHandler(address='/dev/log')
|
||||
formatter = logging.Formatter(fmt='zsnapper %(message)s')
|
||||
formatter = logging.Formatter(fmt='zsnapper[%(process)s] %(message)s')
|
||||
handler.setFormatter(formatter)
|
||||
handler.setLevel(logging.INFO)
|
||||
log.addHandler(handler)
|
||||
|
6
setup.py
6
setup.py
@ -6,9 +6,7 @@ try:
|
||||
except ImportError:
|
||||
from distutils import setup
|
||||
|
||||
import pwgen
|
||||
|
||||
version = '0.1'
|
||||
version = '0.2'
|
||||
|
||||
setup(
|
||||
name='zsnapper',
|
||||
@ -21,7 +19,7 @@ setup(
|
||||
license='BSD',
|
||||
packages=['zsnaplib'],
|
||||
classifiers=[
|
||||
'Development Status :: 1 - Planning',
|
||||
'Development Status :: 3 - Alpha',
|
||||
'Environment :: Console',
|
||||
'Intended Audience :: System Administrators',
|
||||
'License :: OSI Approved :: BSD License',
|
||||
|
Loading…
Reference in New Issue
Block a user