diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-03-26 19:08:19 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-03-27 16:12:59 +0000 |
commit | 5a635759cb11c3b7d92e3aac853eaaea2e54e4a6 (patch) | |
tree | 85ffba1843cf89deecd4455bd189787305589551 /openstack/usr/share/openstack/glance/logging.conf | |
parent | f0d3ee5ab17d0b252c6126f84818e1c3bda5994c (diff) | |
download | definitions-5a635759cb11c3b7d92e3aac853eaaea2e54e4a6.tar.gz |
glance: Move templates to /usr/share/openstack/glance
Also change placeholders to jinja2 type
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 |