From 9d7e74e57c73d25e214e0269dbd9d342e8cd960c Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Fri, 25 Aug 2017 10:17:18 -0400 Subject: [PATCH] Setup logging for nova_cell1.conf When run in the default superconductor mode, the screen-n-cond-cell1 logs are not formatting in oslo format or colorized like the other logs. This is because screen-n-super-cond is running using nova.conf which is configured for oslo format logging with color. The oslo format logging is also needed to correctly index the logs from screen-n-cond-cell1 in logstash. This change simply configures nova_cell*.conf files for logging like nova.conf. Change-Id: I44fc11f09bb7283be0b068f5e02a424f3e5dafe2 Closes-Bug: #1713070 --- lib/nova | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/nova b/lib/nova index fa09fd8fc1..581cd548ff 100644 --- a/lib/nova +++ b/lib/nova @@ -602,6 +602,8 @@ function create_nova_conf { rpc_backend_add_vhost $vhost iniset_rpc_backend nova $conf DEFAULT $vhost fi + # Format logging + setup_logging $conf done fi }