summaryrefslogtreecommitdiff
path: root/openstack/etc/keystone/logging.conf
diff options
context:
space:
mode:
authorMark Doffman <mark.doffman@codethink.co.uk>2014-09-03 19:12:50 +0000
committerMark Doffman <mark.doffman@codethink.co.uk>2014-10-02 02:46:23 +0000
commit0f0bb39104d35cfcf2a01eeb1866927945bcfa8a (patch)
tree98338062b2ac0101c95c94a7299eedff538fc614 /openstack/etc/keystone/logging.conf
parentf1da7ace54bed18c5c7eac5242ec84d4ca81c55d (diff)
downloaddefinitions-0f0bb39104d35cfcf2a01eeb1866927945bcfa8a.tar.gz
Openstack services strata and configuration.baserock/markdoffman/openstack
Add a stratum for openstack services that includes all the core openstack service code and daemons. Add configuration files for keystone, glance, nova and nova-compute. Add a system and cluster definition that builds an image that runs keystone, glance and nova.
Diffstat (limited to 'openstack/etc/keystone/logging.conf')
-rw-r--r--openstack/etc/keystone/logging.conf39
1 files changed, 39 insertions, 0 deletions
diff --git a/openstack/etc/keystone/logging.conf b/openstack/etc/keystone/logging.conf
new file mode 100644
index 00000000..7a538ae8
--- /dev/null
+++ b/openstack/etc/keystone/logging.conf
@@ -0,0 +1,39 @@
+[loggers]
+keys=root
+
+[formatters]
+keys=normal,normal_with_name,debug
+
+[handlers]
+keys=production,file,devel
+
+[logger_root]
+level=WARNING
+handlers=file
+
+[handler_production]
+class=handlers.SysLogHandler
+level=ERROR
+formatter=normal_with_name
+args=(('localhost', handlers.SYSLOG_UDP_PORT), handlers.SysLogHandler.LOG_USER)
+
+[handler_file]
+class=FileHandler
+level=DEBUG
+formatter=normal_with_name
+args=('/var/log/keystone/keystone.log', 'a')
+
+[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