Browse code

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

Matt Riedemann authored on 2017/08/25 23:17:18
Showing 1 changed files
... ...
@@ -602,6 +602,8 @@ function create_nova_conf {
602 602
                 rpc_backend_add_vhost $vhost
603 603
                 iniset_rpc_backend nova $conf DEFAULT $vhost
604 604
             fi
605
+            # Format logging
606
+            setup_logging $conf
605 607
         done
606 608
     fi
607 609
 }