Red Hat Bugzilla – Bug 798401
Use of --debug-level parameter while running satellite-sync not functioning as expected.
Last modified: 2014-10-06 09:46:54 EDT
Description of problem:
When running satellite-sync, appending the '--debug-level=' parameter does not affect the verbosity of /var/log/rhn/rhn_server_satellite.log as expected. However, if a 'debug=' line is added to /etc/rhn/rhn.conf, log verbosity is increased as expected.
Version-Release number of selected component (if applicable):
RHN Satellite Server 5.4.1
Steps to Reproduce:
1.Run satellite-sync --debug-level=5 from one terminal window. tail -f /var/log/rhn/rhn_server_satellite.log from another terminal window and observe no change in log verbosity.
2.Modify /etc/rhn/rhn.conf by adding a debug=5 line. Save and re-run a satellite-sync (without --debug-level=5). Notice that log verbosity has increased when tailing /var/log/rhn/rhn_server_satellite.log.
No change in log file verbosity.
Log file verbosity should change according to the --debug-level setting.
Fixed in spacewalk.git commit
Note that tools:
were affected too.
forgot to write down that commit number: a49a75331afb64425e23b044c2d6629893561584
This issue is resolved with the release of RHN Satellite 5.5.
As of September 20th 2012, RHN Satellite 5.5 has been generally available.
Release Notes and other 5.5 documentation can be found here:
The associated Errata for the 5.5 release are:
5.5 Satellite GA Errata
5.5 Upgrade Errata
5.5 RHN Proxy GA Errata
5.5 RHN Tools GA Errata
- Engineering Manager, Satellite