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)
*** 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