[Bug 1554195] [NEW] Nova (juno) ignores logging_*_format_string in syslog output

George Shuklin 1554195 at bugs.launchpad.net
Mon Mar 7 19:48:06 UTC 2016


Public bug reported:

Nova in juno ignores following settings in configuration file ([DEFAULT] section):
logging_context_format_string
logging_default_format_string
logging_debug_format_suffix
logging_exception_prefix

when sending logs via syslog. Log entries on stderr / in log files are
fine (use logging_*_format).

Steps to reproduce:

1. set up custom logging stings and enable syslog:

[DEFAULT]
logging_default_format_string=MYSTYLE-DEFAULT-%(message)s
logging_context_format_string=MYSTYLE-CONTEXT-%(message)s
use_syslog=true

2. restart nova and perform some actions

3. Check the syslog content

Expected behaviour: MYSTYLE- prefix in all messages.
Actual behaviour: no changes in log message styles.

This bug is specific to Juno version of nova.

** Affects: nova
     Importance: Undecided
         Status: New

** Affects: nova (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: nova (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1554195

Title:
  Nova (juno) ignores logging_*_format_string in syslog output

Status in OpenStack Compute (nova):
  New
Status in nova package in Ubuntu:
  New

Bug description:
  Nova in juno ignores following settings in configuration file ([DEFAULT] section):
  logging_context_format_string
  logging_default_format_string
  logging_debug_format_suffix
  logging_exception_prefix

  when sending logs via syslog. Log entries on stderr / in log files are
  fine (use logging_*_format).

  Steps to reproduce:

  1. set up custom logging stings and enable syslog:

  [DEFAULT]
  logging_default_format_string=MYSTYLE-DEFAULT-%(message)s
  logging_context_format_string=MYSTYLE-CONTEXT-%(message)s
  use_syslog=true

  2. restart nova and perform some actions

  3. Check the syslog content

  Expected behaviour: MYSTYLE- prefix in all messages.
  Actual behaviour: no changes in log message styles.

  This bug is specific to Juno version of nova.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1554195/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list