heat services logging to file and stderr

Bug #1146848 reported by Steven Hardy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
High
Steven Dake

Bug Description

Since the oslo logging change the heat services are logging to stderr by default, as well as logging the same information to their logfiles.

This is a change in behavior from before the oslo change, and I'm guessing it was not intended, we really want the services to be quiet on stderr/stdout, maybe with a switch which overrides the default behavior for debugging.

Steven Hardy (shardy)
Changed in heat:
status: New → Triaged
importance: Undecided → Medium
milestone: none → grizzly-rc1
Revision history for this message
Steven Dake (sdake) wrote :

Oslo defaults to output to stderr. The only way to change this is to either change the default in heat/openstack/common/log.py which will need changing later when oslo-log comes out, or set the defaults in the config files.

Changed in heat:
assignee: nobody → Steven Dake (sdake)
importance: Medium → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

Fix proposed to branch: master
Review: https://review.openstack.org/23567

Changed in heat:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/23567
Committed: http://github.com/openstack/heat/commit/8634e15ca10ed9a919bbec1823a56e7eb4dc3d29
Submitter: Jenkins
Branch: master

commit 8634e15ca10ed9a919bbec1823a56e7eb4dc3d29
Author: Steven Dake <email address hidden>
Date: Tue Mar 5 09:01:56 2013 -0700

    Stop heat services from logging to stderr by default

    Change the configuration files to set use_stderr to False by
    default. Oslo's log sets use_stderr to True by default, and
    the only reasonable way to override is via the config files.

    Change-Id: Ibc4ac3b8cb5d7478260d5d014eb48860bae4bc0b
    Fixes: Bug #1146848

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: grizzly-rc1 → 2013.1
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.