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
diff --git a/lib/nova b/lib/nova
index fa09fd8..581cd54 100644
--- a/lib/nova
+++ b/lib/nova
@@ -602,6 +602,8 @@
rpc_backend_add_vhost $vhost
iniset_rpc_backend nova $conf DEFAULT $vhost
fi
+ # Format logging
+ setup_logging $conf
done
fi
}