Bug 1083057 - [RFE] Double logging when using syslog;
Summary: [RFE] Double logging when using syslog;
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-heat
Version: 5.0 (RHEL 7)
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ga
: 6.0 (Juno)
Assignee: Jeff Peeler
QA Contact: Amit Ugol
URL:
Whiteboard:
Depends On: 966050 1083063
Blocks: 1083039 1083050
TreeView+ depends on / blocked
 
Reported: 2014-04-01 12:09 UTC by Vladan Popovic
Modified: 2023-02-22 23:02 UTC (History)
13 users (show)

Fixed In Version: openstack-heat-2014.2.1-3.el7ost
Doc Type: Enhancement
Doc Text:
The systemd script no longer explicitly sets a log file. This ensures that syslog settings take precedence during logging.
Clone Of: 966050
Environment:
Last Closed: 2015-02-09 15:01:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2015:0147 0 normal SHIPPED_LIVE openstack-heat enhancement advisory 2015-02-09 19:53:18 UTC

Description Vladan Popovic 2014-04-01 12:09:08 UTC
+++ This bug was initially created as a clone of Bug #966050 +++

Description of problem:
Double logging when using syslog; 

Doubled logging when configuring syslog: logging will go to syslog AND to file.

The initscripts of the various components include a --logfile $logfile
This will always turn on logging to file even if syslog is setup in the nova config.

Note that this bug is a duplicate of the bugreport in EPEL: https://bugzilla.redhat.com/show_bug.cgi?id=892626

I recreate this report since RDO is split of from the EPEL version (and that nothing happened with that bugreport)

--- Additional comment from Pádraig Brady on 2014-01-15 09:43:48 EST ---



--- Additional comment from Xavier Queralt on 2014-03-10 09:38:28 EDT ---

I think there is no specify the logfile in the service script. Vladan, could you change this in the nova service scripts while doing the next build?

--- Additional comment from Alan Pevec on 2014-04-01 06:15:02 EDT ---

(In reply to Xavier Queralt from comment #2)
> I think there is no specify the logfile in the service script.

--logfile is specified in each service script so they have separate log files.

> Vladan, could you change this in the nova service scripts while doing the next build?

If you want to remove --logfile, then each service will need separate dist-conf file?

Comment 5 Lon Hohberger 2014-12-11 18:05:20 UTC
This is more appropriate for RHEL OSP 6, so let's fix it there.

Comment 8 errata-xmlrpc 2015-02-09 15:01:34 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2015-0147.html


Note You need to log in before you can comment on or make changes to this bug.