Bug 966050
| Summary: | [RFE] Double logging when using syslog; | |||
|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | robert.vanleeuwen | |
| Component: | openstack-nova | Assignee: | Vladan Popovic <vpopovic> | |
| Status: | CLOSED ERRATA | QA Contact: | Ami Jeain <ajeain> | |
| Severity: | low | Docs Contact: | ||
| Priority: | low | |||
| Version: | 5.0 (RHEL 7) | CC: | apevec, jkt, lars, ndipanov, sgordon, slong, yeylon | |
| Target Milestone: | rc | Keywords: | FutureFeature, Triaged | |
| Target Release: | 5.0 (RHEL 7) | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | openstack-nova-2014.1-2.el7ost | Doc Type: | Bug Fix | |
| Doc Text: |
In the previous release, logging went to both syslog AND to file if syslog was enabled in the Compute configuration. This double logging was a result of the initscripts of the various components including a '--logfile $logfile'.
The --logfile argument has now been removed from Compute service scripts and
the default log file used. Logging is no longer doubled when syslog is enabled.
Additionally, the default log files have been renamed to nova-{service_name}.log (for example, from {log_dir}/compute.log to {log_dir}/nova-compute.log).
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1083039 1083047 1083050 1083057 1083063 (view as bug list) | Environment: | ||
| Last Closed: | 2014-07-08 15:26:14 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: | ||||
| Bug Blocks: | 1083039, 1083050, 1083057, 1083063 | |||
|
Description
robert.vanleeuwen
2013-05-22 11:09:26 UTC
*** Bug 892626 has been marked as a duplicate of this bug. *** 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? (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? > If you want to remove --logfile, then each service will need separate
> dist-conf file?
Answering to myself: not needed, if log_dir is set (and it is in nova-dist.conf), log_file not set, default logfile will be take from the binary filename (see _get_binary_name and _get_log_file_path in oslo log.py)
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. http://rhn.redhat.com/errata/RHEA-2014-0853.html |