diff options
author | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-04-13 15:57:48 +0000 |
---|---|---|
committer | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-04-13 15:57:48 +0000 |
commit | 31f8afcf80cacf8cbfffd7cbdfc75241d8e3a223 (patch) | |
tree | 8fc55cdecba638aa86b6b913be0eb869aea620ed /openstack/usr/share/openstack/glance/logging.conf | |
parent | 736a9e13e5586063e7a188b6cb57e9c1aea3b6d8 (diff) | |
download | definitions-31f8afcf80cacf8cbfffd7cbdfc75241d8e3a223.tar.gz |
everything elsebaserock/openstack-baserock-upstream-all
Change-Id: I882fb2ad7a4cdbbd9daf11d802b4f84d1b79b03b
Diffstat (limited to 'openstack/usr/share/openstack/glance/logging.conf')
-rw-r--r-- | openstack/usr/share/openstack/glance/logging.conf | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/openstack/usr/share/openstack/glance/logging.conf b/openstack/usr/share/openstack/glance/logging.conf new file mode 100644 index 00000000..8de2ffd1 --- /dev/null +++ b/openstack/usr/share/openstack/glance/logging.conf @@ -0,0 +1,54 @@ +[loggers] +keys=root,api,registry,combined + +[formatters] +keys=normal,normal_with_name,debug + +[handlers] +keys=production,file,devel + +[logger_root] +level=NOTSET +handlers=devel + +[logger_api] +level=DEBUG +handlers=devel +qualname=glance-api + +[logger_registry] +level=DEBUG +handlers=devel +qualname=glance-registry + +[logger_combined] +level=DEBUG +handlers=devel +qualname=glance-combined + +[handler_production] +class=handlers.SysLogHandler +level=ERROR +formatter=normal_with_name +args=(('127.0.0.1', handlers.SYSLOG_UDP_PORT), handlers.SysLogHandler.LOG_USER) + +[handler_file] +class=FileHandler +level=DEBUG +formatter=normal_with_name +args=('glance.log', 'w') + +[handler_devel] +class=StreamHandler +level=NOTSET +formatter=debug +args=(sys.stdout,) + +[formatter_normal] +format=%(asctime)s %(levelname)s %(message)s + +[formatter_normal_with_name] +format=(%(name)s): %(asctime)s %(levelname)s %(message)s + +[formatter_debug] +format=(%(name)s): %(asctime)s %(levelname)s %(module)s %(funcName)s %(message)s |