Nova (juno) ignores logging_*_format_string in syslog output

Bug #1554195 reported by George Shuklin
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Unassigned
nova (Ubuntu)
Won't Fix
Undecided
Unassigned

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.

Tags: patch
Wenzhi Yu (yuywz)
Changed in nova:
assignee: nobody → Wenzhi Yu (yuywz)
Wenzhi Yu (yuywz)
Changed in nova:
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nova (Ubuntu):
status: New → Confirmed
Wenzhi Yu (yuywz)
Changed in nova:
assignee: Wenzhi Yu (yuywz) → nobody
status: In Progress → New
Revision history for this message
Markus Zoeller (markus_z) (mzoeller) wrote :

@George Shuklin:
The Juno release has its EOL in December 2015 [1]. This means the
upstream development doesn't provide any fixes for that anymore.

References:
[1] http://releases.openstack.org/

Changed in nova:
status: New → Invalid
Revision history for this message
George Shuklin (george-shuklin) wrote :

Hello.

We have our fix for this issue. See attachment. (It should be applied over ubuntu patchqueue).

Changed in nova:
assignee: nobody → George Shuklin (george-shuklin)
assignee: George Shuklin (george-shuklin) → nobody
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "wz_fix_syslog_formatter.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Chuck Short (zulcss)
Changed in nova (Ubuntu):
status: Confirmed → Won't Fix
Revision history for this message
George Shuklin (george-shuklin) wrote :

"Nice" done, Ubuntu! Excellent support, even attached patch does no help.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.