From 733159876257e1f2f8ee407a7334cedd4cdb5866 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Thu, 5 May 2016 07:53:42 -0400 Subject: [PATCH] Add ubuntu-precise logging to nodepool-builder Change-Id: I0d884456daaa6844251a421ba02746177ea9548d Signed-off-by: Paul Belanger --- .../nodepool/nodepool-builder.logging.conf.erb | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/modules/openstack_project/templates/nodepool/nodepool-builder.logging.conf.erb b/modules/openstack_project/templates/nodepool/nodepool-builder.logging.conf.erb index 5f062c171d..467757f4f4 100644 --- a/modules/openstack_project/templates/nodepool/nodepool-builder.logging.conf.erb +++ b/modules/openstack_project/templates/nodepool/nodepool-builder.logging.conf.erb @@ -9,13 +9,15 @@ keys=root,nodepool,requests,shade,image, rax-dfw_bare-precise, rax-ord_bare-precise, rax-iad_bare-precise, tripleo-test-cloud-rh1_tripleo-f22, dib_debian-jessie, - dib_ubuntu-trusty, dib_ubuntu-xenial, dib_centos-7, dib_fedora-23 + dib_ubuntu-precise, dib_ubuntu-trusty, dib_ubuntu-xenial, + dib_centos-7, dib_fedora-23 [handlers] keys=console,debug,normal,image, rax-dfw_bare-precise, rax-ord_bare-precise, rax-iad_bare-precise, tripleo-test-cloud-rh1_tripleo-f22, dib_debian-jessie, - dib_ubuntu-trusty, dib_ubuntu-xenial, dib_centos-7, dib_fedora-23 + dib_ubuntu-precise, dib_ubuntu-trusty, dib_ubuntu-xenial, + dib_centos-7, dib_fedora-23 [formatters] keys=simple @@ -136,6 +138,18 @@ class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/dib.debian-jessie.log', 'H', 8, 30,) +[logger_dib_ubuntu-precise] +level=DEBUG +handlers=dib_ubuntu-precise +qualname=nodepool.image.build.ubuntu-precise +propagate=0 + +[handler_dib_ubuntu-precise] +level=DEBUG +class=logging.handlers.TimedRotatingFileHandler +formatter=simple +args=('<%= @image_log_document_root %>/dib.ubuntu-precise.log', 'H', 8, 30,) + [logger_dib_ubuntu-trusty] level=DEBUG handlers=dib_ubuntu-trusty