From 4de87db2762d586545923499a54c5a78cf4cdbad Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Thu, 1 Oct 2015 13:14:45 +1000 Subject: [PATCH] Turn image logging level up to DEBUG In I54db78b028017500b58693ec717c23eaf6a220b6 I added some handy values that are intendend to go into public log files to help you establish when an image-build has started or stopped (for example, [1] is currently ~300MiB of looping build log data and it's really hard to pick out where things are going wrong). The problem is, I put them in at DEBUG level and the image loggers are only set to INFO level. So the messages aren't making it into the public logfiles as hoped, and thus not available to help people diagnose issues with their builds. I think the best idea is to turn these up to DEBUG level to capture these, and any other low-level messages from this logger, in the public output. [1] http://nodepool.openstack.org/image.log Change-Id: Ib9ac5fc81ccef73f1b1e20b8381bdd1afac4bcae --- .../nodepool/nodepool.logging.conf.erb | 268 +++++++++--------- tools/nodepool_log_config.py | 8 +- 2 files changed, 138 insertions(+), 138 deletions(-) diff --git a/modules/openstack_project/templates/nodepool/nodepool.logging.conf.erb b/modules/openstack_project/templates/nodepool/nodepool.logging.conf.erb index 83e5f2768d..e400a001b7 100644 --- a/modules/openstack_project/templates/nodepool/nodepool.logging.conf.erb +++ b/modules/openstack_project/templates/nodepool/nodepool.logging.conf.erb @@ -29,7 +29,7 @@ handlers=debug,normal qualname=nodepool [logger_image] -level=INFO +level=DEBUG handlers=image qualname=nodepool.image.build propagate=0 @@ -53,7 +53,7 @@ formatter=simple args=('/var/log/nodepool/nodepool.log', 'H', 8, 30,) [handler_image] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/image.log', 'H', 8, 30,) @@ -66,793 +66,793 @@ datefmt= [logger_rax-dfw_devstack-precise] -level=INFO +level=DEBUG handlers=rax-dfw_devstack-precise qualname=nodepool.image.build.rax-dfw.devstack-precise propagate=0 [handler_rax-dfw_devstack-precise] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/rax-dfw.devstack-precise.log', 'H', 8, 30,) [logger_rax-dfw_bare-precise] -level=INFO +level=DEBUG handlers=rax-dfw_bare-precise qualname=nodepool.image.build.rax-dfw.bare-precise propagate=0 [handler_rax-dfw_bare-precise] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/rax-dfw.bare-precise.log', 'H', 8, 30,) [logger_rax-dfw_devstack-trusty] -level=INFO +level=DEBUG handlers=rax-dfw_devstack-trusty qualname=nodepool.image.build.rax-dfw.devstack-trusty propagate=0 [handler_rax-dfw_devstack-trusty] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/rax-dfw.devstack-trusty.log', 'H', 8, 30,) [logger_rax-dfw_bare-trusty] -level=INFO +level=DEBUG handlers=rax-dfw_bare-trusty qualname=nodepool.image.build.rax-dfw.bare-trusty propagate=0 [handler_rax-dfw_bare-trusty] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/rax-dfw.bare-trusty.log', 'H', 8, 30,) [logger_rax-dfw_bare-centos6] -level=INFO +level=DEBUG handlers=rax-dfw_bare-centos6 qualname=nodepool.image.build.rax-dfw.bare-centos6 propagate=0 [handler_rax-dfw_bare-centos6] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/rax-dfw.bare-centos6.log', 'H', 8, 30,) [logger_rax-dfw_centos-6] -level=INFO +level=DEBUG handlers=rax-dfw_centos-6 qualname=nodepool.image.build.rax-dfw.centos-6 propagate=0 [handler_rax-dfw_centos-6] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/rax-dfw.centos-6.log', 'H', 8, 30,) [logger_rax-dfw_devstack-f21] -level=INFO +level=DEBUG handlers=rax-dfw_devstack-f21 qualname=nodepool.image.build.rax-dfw.devstack-f21 propagate=0 [handler_rax-dfw_devstack-f21] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/rax-dfw.devstack-f21.log', 'H', 8, 30,) [logger_rax-dfw_devstack-centos7] -level=INFO +level=DEBUG handlers=rax-dfw_devstack-centos7 qualname=nodepool.image.build.rax-dfw.devstack-centos7 propagate=0 [handler_rax-dfw_devstack-centos7] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/rax-dfw.devstack-centos7.log', 'H', 8, 30,) [logger_rax-ord_devstack-precise] -level=INFO +level=DEBUG handlers=rax-ord_devstack-precise qualname=nodepool.image.build.rax-ord.devstack-precise propagate=0 [handler_rax-ord_devstack-precise] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/rax-ord.devstack-precise.log', 'H', 8, 30,) [logger_rax-ord_bare-precise] -level=INFO +level=DEBUG handlers=rax-ord_bare-precise qualname=nodepool.image.build.rax-ord.bare-precise propagate=0 [handler_rax-ord_bare-precise] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/rax-ord.bare-precise.log', 'H', 8, 30,) [logger_rax-ord_devstack-trusty] -level=INFO +level=DEBUG handlers=rax-ord_devstack-trusty qualname=nodepool.image.build.rax-ord.devstack-trusty propagate=0 [handler_rax-ord_devstack-trusty] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/rax-ord.devstack-trusty.log', 'H', 8, 30,) [logger_rax-ord_bare-trusty] -level=INFO +level=DEBUG handlers=rax-ord_bare-trusty qualname=nodepool.image.build.rax-ord.bare-trusty propagate=0 [handler_rax-ord_bare-trusty] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/rax-ord.bare-trusty.log', 'H', 8, 30,) [logger_rax-ord_bare-centos6] -level=INFO +level=DEBUG handlers=rax-ord_bare-centos6 qualname=nodepool.image.build.rax-ord.bare-centos6 propagate=0 [handler_rax-ord_bare-centos6] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/rax-ord.bare-centos6.log', 'H', 8, 30,) [logger_rax-ord_centos-6] -level=INFO +level=DEBUG handlers=rax-ord_centos-6 qualname=nodepool.image.build.rax-ord.centos-6 propagate=0 [handler_rax-ord_centos-6] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/rax-ord.centos-6.log', 'H', 8, 30,) [logger_rax-ord_devstack-f21] -level=INFO +level=DEBUG handlers=rax-ord_devstack-f21 qualname=nodepool.image.build.rax-ord.devstack-f21 propagate=0 [handler_rax-ord_devstack-f21] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/rax-ord.devstack-f21.log', 'H', 8, 30,) [logger_rax-ord_devstack-centos7] -level=INFO +level=DEBUG handlers=rax-ord_devstack-centos7 qualname=nodepool.image.build.rax-ord.devstack-centos7 propagate=0 [handler_rax-ord_devstack-centos7] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/rax-ord.devstack-centos7.log', 'H', 8, 30,) [logger_rax-iad_devstack-precise] -level=INFO +level=DEBUG handlers=rax-iad_devstack-precise qualname=nodepool.image.build.rax-iad.devstack-precise propagate=0 [handler_rax-iad_devstack-precise] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/rax-iad.devstack-precise.log', 'H', 8, 30,) [logger_rax-iad_bare-precise] -level=INFO +level=DEBUG handlers=rax-iad_bare-precise qualname=nodepool.image.build.rax-iad.bare-precise propagate=0 [handler_rax-iad_bare-precise] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/rax-iad.bare-precise.log', 'H', 8, 30,) [logger_rax-iad_devstack-trusty] -level=INFO +level=DEBUG handlers=rax-iad_devstack-trusty qualname=nodepool.image.build.rax-iad.devstack-trusty propagate=0 [handler_rax-iad_devstack-trusty] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/rax-iad.devstack-trusty.log', 'H', 8, 30,) [logger_rax-iad_bare-trusty] -level=INFO +level=DEBUG handlers=rax-iad_bare-trusty qualname=nodepool.image.build.rax-iad.bare-trusty propagate=0 [handler_rax-iad_bare-trusty] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/rax-iad.bare-trusty.log', 'H', 8, 30,) [logger_rax-iad_bare-centos6] -level=INFO +level=DEBUG handlers=rax-iad_bare-centos6 qualname=nodepool.image.build.rax-iad.bare-centos6 propagate=0 [handler_rax-iad_bare-centos6] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/rax-iad.bare-centos6.log', 'H', 8, 30,) [logger_rax-iad_centos-6] -level=INFO +level=DEBUG handlers=rax-iad_centos-6 qualname=nodepool.image.build.rax-iad.centos-6 propagate=0 [handler_rax-iad_centos-6] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/rax-iad.centos-6.log', 'H', 8, 30,) [logger_rax-iad_devstack-precise-check] -level=INFO +level=DEBUG handlers=rax-iad_devstack-precise-check qualname=nodepool.image.build.rax-iad.devstack-precise-check propagate=0 [handler_rax-iad_devstack-precise-check] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/rax-iad.devstack-precise-check.log', 'H', 8, 30,) [logger_rax-iad_devstack-f21] -level=INFO +level=DEBUG handlers=rax-iad_devstack-f21 qualname=nodepool.image.build.rax-iad.devstack-f21 propagate=0 [handler_rax-iad_devstack-f21] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/rax-iad.devstack-f21.log', 'H', 8, 30,) [logger_rax-iad_devstack-centos7] -level=INFO +level=DEBUG handlers=rax-iad_devstack-centos7 qualname=nodepool.image.build.rax-iad.devstack-centos7 propagate=0 [handler_rax-iad_devstack-centos7] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/rax-iad.devstack-centos7.log', 'H', 8, 30,) [logger_hpcloud-region-a_devstack-precise-check] -level=INFO +level=DEBUG handlers=hpcloud-region-a_devstack-precise-check qualname=nodepool.image.build.hpcloud-region-a.devstack-precise-check propagate=0 [handler_hpcloud-region-a_devstack-precise-check] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/hpcloud-region-a.devstack-precise-check.log', 'H', 8, 30,) [logger_hpcloud-b1_devstack-precise-check] -level=INFO +level=DEBUG handlers=hpcloud-b1_devstack-precise-check qualname=nodepool.image.build.hpcloud-b1.devstack-precise-check propagate=0 [handler_hpcloud-b1_devstack-precise-check] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/hpcloud-b1.devstack-precise-check.log', 'H', 8, 30,) [logger_hpcloud-b1_bare-precise] -level=INFO +level=DEBUG handlers=hpcloud-b1_bare-precise qualname=nodepool.image.build.hpcloud-b1.bare-precise propagate=0 [handler_hpcloud-b1_bare-precise] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/hpcloud-b1.bare-precise.log', 'H', 8, 30,) [logger_hpcloud-b1_bare-trusty] -level=INFO +level=DEBUG handlers=hpcloud-b1_bare-trusty qualname=nodepool.image.build.hpcloud-b1.bare-trusty propagate=0 [handler_hpcloud-b1_bare-trusty] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/hpcloud-b1.bare-trusty.log', 'H', 8, 30,) [logger_hpcloud-b1_bare-centos6] -level=INFO +level=DEBUG handlers=hpcloud-b1_bare-centos6 qualname=nodepool.image.build.hpcloud-b1.bare-centos6 propagate=0 [handler_hpcloud-b1_bare-centos6] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/hpcloud-b1.bare-centos6.log', 'H', 8, 30,) [logger_hpcloud-b1_devstack-f21] -level=INFO +level=DEBUG handlers=hpcloud-b1_devstack-f21 qualname=nodepool.image.build.hpcloud-b1.devstack-f21 propagate=0 [handler_hpcloud-b1_devstack-f21] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/hpcloud-b1.devstack-f21.log', 'H', 8, 30,) [logger_hpcloud-b1_devstack-centos7] -level=INFO +level=DEBUG handlers=hpcloud-b1_devstack-centos7 qualname=nodepool.image.build.hpcloud-b1.devstack-centos7 propagate=0 [handler_hpcloud-b1_devstack-centos7] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/hpcloud-b1.devstack-centos7.log', 'H', 8, 30,) [logger_hpcloud-b2_devstack-precise-check] -level=INFO +level=DEBUG handlers=hpcloud-b2_devstack-precise-check qualname=nodepool.image.build.hpcloud-b2.devstack-precise-check propagate=0 [handler_hpcloud-b2_devstack-precise-check] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/hpcloud-b2.devstack-precise-check.log', 'H', 8, 30,) [logger_hpcloud-b2_bare-precise] -level=INFO +level=DEBUG handlers=hpcloud-b2_bare-precise qualname=nodepool.image.build.hpcloud-b2.bare-precise propagate=0 [handler_hpcloud-b2_bare-precise] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/hpcloud-b2.bare-precise.log', 'H', 8, 30,) [logger_hpcloud-b2_bare-trusty] -level=INFO +level=DEBUG handlers=hpcloud-b2_bare-trusty qualname=nodepool.image.build.hpcloud-b2.bare-trusty propagate=0 [handler_hpcloud-b2_bare-trusty] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/hpcloud-b2.bare-trusty.log', 'H', 8, 30,) [logger_hpcloud-b2_bare-centos6] -level=INFO +level=DEBUG handlers=hpcloud-b2_bare-centos6 qualname=nodepool.image.build.hpcloud-b2.bare-centos6 propagate=0 [handler_hpcloud-b2_bare-centos6] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/hpcloud-b2.bare-centos6.log', 'H', 8, 30,) [logger_hpcloud-b2_devstack-f21] -level=INFO +level=DEBUG handlers=hpcloud-b2_devstack-f21 qualname=nodepool.image.build.hpcloud-b2.devstack-f21 propagate=0 [handler_hpcloud-b2_devstack-f21] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/hpcloud-b2.devstack-f21.log', 'H', 8, 30,) [logger_hpcloud-b2_devstack-centos7] -level=INFO +level=DEBUG handlers=hpcloud-b2_devstack-centos7 qualname=nodepool.image.build.hpcloud-b2.devstack-centos7 propagate=0 [handler_hpcloud-b2_devstack-centos7] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/hpcloud-b2.devstack-centos7.log', 'H', 8, 30,) [logger_hpcloud-b3_devstack-precise-check] -level=INFO +level=DEBUG handlers=hpcloud-b3_devstack-precise-check qualname=nodepool.image.build.hpcloud-b3.devstack-precise-check propagate=0 [handler_hpcloud-b3_devstack-precise-check] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/hpcloud-b3.devstack-precise-check.log', 'H', 8, 30,) [logger_hpcloud-b3_bare-precise] -level=INFO +level=DEBUG handlers=hpcloud-b3_bare-precise qualname=nodepool.image.build.hpcloud-b3.bare-precise propagate=0 [handler_hpcloud-b3_bare-precise] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/hpcloud-b3.bare-precise.log', 'H', 8, 30,) [logger_hpcloud-b3_bare-trusty] -level=INFO +level=DEBUG handlers=hpcloud-b3_bare-trusty qualname=nodepool.image.build.hpcloud-b3.bare-trusty propagate=0 [handler_hpcloud-b3_bare-trusty] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/hpcloud-b3.bare-trusty.log', 'H', 8, 30,) [logger_hpcloud-b3_bare-centos6] -level=INFO +level=DEBUG handlers=hpcloud-b3_bare-centos6 qualname=nodepool.image.build.hpcloud-b3.bare-centos6 propagate=0 [handler_hpcloud-b3_bare-centos6] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/hpcloud-b3.bare-centos6.log', 'H', 8, 30,) [logger_hpcloud-b3_devstack-f21] -level=INFO +level=DEBUG handlers=hpcloud-b3_devstack-f21 qualname=nodepool.image.build.hpcloud-b3.devstack-f21 propagate=0 [handler_hpcloud-b3_devstack-f21] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/hpcloud-b3.devstack-f21.log', 'H', 8, 30,) [logger_hpcloud-b3_devstack-centos7] -level=INFO +level=DEBUG handlers=hpcloud-b3_devstack-centos7 qualname=nodepool.image.build.hpcloud-b3.devstack-centos7 propagate=0 [handler_hpcloud-b3_devstack-centos7] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/hpcloud-b3.devstack-centos7.log', 'H', 8, 30,) [logger_hpcloud-b4_devstack-precise-check] -level=INFO +level=DEBUG handlers=hpcloud-b4_devstack-precise-check qualname=nodepool.image.build.hpcloud-b4.devstack-precise-check propagate=0 [handler_hpcloud-b4_devstack-precise-check] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/hpcloud-b4.devstack-precise-check.log', 'H', 8, 30,) [logger_hpcloud-b4_bare-precise] -level=INFO +level=DEBUG handlers=hpcloud-b4_bare-precise qualname=nodepool.image.build.hpcloud-b4.bare-precise propagate=0 [handler_hpcloud-b4_bare-precise] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/hpcloud-b4.bare-precise.log', 'H', 8, 30,) [logger_hpcloud-b4_bare-trusty] -level=INFO +level=DEBUG handlers=hpcloud-b4_bare-trusty qualname=nodepool.image.build.hpcloud-b4.bare-trusty propagate=0 [handler_hpcloud-b4_bare-trusty] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/hpcloud-b4.bare-trusty.log', 'H', 8, 30,) [logger_hpcloud-b4_bare-centos6] -level=INFO +level=DEBUG handlers=hpcloud-b4_bare-centos6 qualname=nodepool.image.build.hpcloud-b4.bare-centos6 propagate=0 [handler_hpcloud-b4_bare-centos6] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/hpcloud-b4.bare-centos6.log', 'H', 8, 30,) [logger_hpcloud-b4_devstack-f21] -level=INFO +level=DEBUG handlers=hpcloud-b4_devstack-f21 qualname=nodepool.image.build.hpcloud-b4.devstack-f21 propagate=0 [handler_hpcloud-b4_devstack-f21] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/hpcloud-b4.devstack-f21.log', 'H', 8, 30,) [logger_hpcloud-b4_devstack-centos7] -level=INFO +level=DEBUG handlers=hpcloud-b4_devstack-centos7 qualname=nodepool.image.build.hpcloud-b4.devstack-centos7 propagate=0 [handler_hpcloud-b4_devstack-centos7] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/hpcloud-b4.devstack-centos7.log', 'H', 8, 30,) [logger_hpcloud-b5_devstack-precise-check] -level=INFO +level=DEBUG handlers=hpcloud-b5_devstack-precise-check qualname=nodepool.image.build.hpcloud-b5.devstack-precise-check propagate=0 [handler_hpcloud-b5_devstack-precise-check] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/hpcloud-b5.devstack-precise-check.log', 'H', 8, 30,) [logger_hpcloud-b5_bare-precise] -level=INFO +level=DEBUG handlers=hpcloud-b5_bare-precise qualname=nodepool.image.build.hpcloud-b5.bare-precise propagate=0 [handler_hpcloud-b5_bare-precise] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/hpcloud-b5.bare-precise.log', 'H', 8, 30,) [logger_hpcloud-b5_bare-trusty] -level=INFO +level=DEBUG handlers=hpcloud-b5_bare-trusty qualname=nodepool.image.build.hpcloud-b5.bare-trusty propagate=0 [handler_hpcloud-b5_bare-trusty] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/hpcloud-b5.bare-trusty.log', 'H', 8, 30,) [logger_hpcloud-b5_bare-centos6] -level=INFO +level=DEBUG handlers=hpcloud-b5_bare-centos6 qualname=nodepool.image.build.hpcloud-b5.bare-centos6 propagate=0 [handler_hpcloud-b5_bare-centos6] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/hpcloud-b5.bare-centos6.log', 'H', 8, 30,) [logger_hpcloud-b5_devstack-f21] -level=INFO +level=DEBUG handlers=hpcloud-b5_devstack-f21 qualname=nodepool.image.build.hpcloud-b5.devstack-f21 propagate=0 [handler_hpcloud-b5_devstack-f21] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/hpcloud-b5.devstack-f21.log', 'H', 8, 30,) [logger_hpcloud-b5_devstack-centos7] -level=INFO +level=DEBUG handlers=hpcloud-b5_devstack-centos7 qualname=nodepool.image.build.hpcloud-b5.devstack-centos7 propagate=0 [handler_hpcloud-b5_devstack-centos7] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/hpcloud-b5.devstack-centos7.log', 'H', 8, 30,) [logger_tripleo-test-cloud-rh1_tripleo-precise] -level=INFO +level=DEBUG handlers=tripleo-test-cloud-rh1_tripleo-precise qualname=nodepool.image.build.tripleo-test-cloud-rh1.tripleo-precise propagate=0 [handler_tripleo-test-cloud-rh1_tripleo-precise] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/tripleo-test-cloud-rh1.tripleo-precise.log', 'H', 8, 30,) [logger_tripleo-test-cloud-rh1_tripleo-f20] -level=INFO +level=DEBUG handlers=tripleo-test-cloud-rh1_tripleo-f20 qualname=nodepool.image.build.tripleo-test-cloud-rh1.tripleo-f20 propagate=0 [handler_tripleo-test-cloud-rh1_tripleo-f20] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/tripleo-test-cloud-rh1.tripleo-f20.log', 'H', 8, 30,) [logger_tripleo-test-cloud-rh1_tripleo-f21] -level=INFO +level=DEBUG handlers=tripleo-test-cloud-rh1_tripleo-f21 qualname=nodepool.image.build.tripleo-test-cloud-rh1.tripleo-f21 propagate=0 [handler_tripleo-test-cloud-rh1_tripleo-f21] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/tripleo-test-cloud-rh1.tripleo-f21.log', 'H', 8, 30,) [logger_dib_centos-6] -level=INFO +level=DEBUG handlers=dib_centos-6 qualname=nodepool.image.build.centos-6 propagate=0 [handler_dib_centos-6] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/dib.centos-6.log', 'H', 8, 30,) [logger_dib_ubuntu-trusty] -level=INFO +level=DEBUG handlers=dib_ubuntu-trusty qualname=nodepool.image.build.ubuntu-trusty propagate=0 [handler_dib_ubuntu-trusty] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/dib.ubuntu-trusty.log', 'H', 8, 30,) [logger_dib_devstack-trusty] -level=INFO +level=DEBUG handlers=dib_devstack-trusty qualname=nodepool.image.build.devstack-trusty propagate=0 [handler_dib_devstack-trusty] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/dib.devstack-trusty.log', 'H', 8, 30,) [logger_dib_devstack-precise] -level=INFO +level=DEBUG handlers=dib_devstack-precise qualname=nodepool.image.build.devstack-precise propagate=0 [handler_dib_devstack-precise] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/dib.devstack-precise.log', 'H', 8, 30,) [logger_dib_devstack-centos7-dib] -level=INFO +level=DEBUG handlers=dib_devstack-centos7-dib qualname=nodepool.image.build.devstack-centos7-dib propagate=0 [handler_dib_devstack-centos7-dib] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/dib.devstack-centos7-dib.log', 'H', 8, 30,) [logger_dib_devstack-fedora21-dib] -level=INFO +level=DEBUG handlers=dib_devstack-fedora21-dib qualname=nodepool.image.build.devstack-fedora21-dib propagate=0 [handler_dib_devstack-fedora21-dib] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/dib.devstack-fedora21-dib.log', 'H', 8, 30,) [logger_dib_fedora-22] -level=INFO +level=DEBUG handlers=dib_fedora-22 qualname=nodepool.image.build.fedora-22 propagate=0 [handler_dib_fedora-22] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('<%= @image_log_document_root %>/dib.fedora-22.log', 'H', 8, 30,) diff --git a/tools/nodepool_log_config.py b/tools/nodepool_log_config.py index ff01f0eca8..1fddbb7c69 100755 --- a/tools/nodepool_log_config.py +++ b/tools/nodepool_log_config.py @@ -65,7 +65,7 @@ handlers=debug,normal qualname=nodepool [logger_image] -level=INFO +level=DEBUG handlers=image qualname=nodepool.image.build propagate=0 @@ -89,7 +89,7 @@ formatter=simple args=('%(log_dir)s/nodepool.log', 'H', 8, 30,) [handler_image] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('%(image_log_dir)s/image.log', 'H', 8, 30,) @@ -104,7 +104,7 @@ datefmt= _IMAGE_HANDLER = """ [handler_%(title)s] -level=INFO +level=DEBUG class=logging.handlers.TimedRotatingFileHandler formatter=simple args=('%(image_log_dir)s/%(filename)s', 'H', 8, 30,) @@ -112,7 +112,7 @@ args=('%(image_log_dir)s/%(filename)s', 'H', 8, 30,) _IMAGE_LOGGER = """ [logger_%(title)s] -level=INFO +level=DEBUG handlers=%(handler)s qualname=nodepool.image.build.%(qualname)s propagate=0