Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1083063

Summary: [RFE] Double logging when using syslog;
Product: Red Hat OpenStack Reporter: Vladan Popovic <vpopovic>
Component: openstack-ironicAssignee: Lucas Alvares Gomes <lmartins>
Status: CLOSED WONTFIX QA Contact: Toure Dunnon <tdunnon>
Severity: low Docs Contact:
Priority: unspecified    
Version: 10.0 (Newton)CC: apevec, dtantsur, eglynn, lars, robert.vanleeuwen, srevivo, tdunnon, zbitter
Target Milestone: ---Keywords: FutureFeature, Triaged, ZStream
Target Release: 10.0 (Newton)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 966050 Environment:
Last Closed: 2016-09-06 14:38:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 966050    
Bug Blocks: 1083039, 1083050, 1083057    

Description Vladan Popovic 2014-04-01 12:21:51 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 3 Dmitry Tantsur 2016-09-06 14:38:15 UTC
Hello!

To be honest, we find both ways quite helpful for debugging. Journald (which ends up in syslog) provides convenient near-range search, while files store logs for longer time. If we do plan to fix that, it should be an openstack-wide decision.