Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1365280 - default_log_level in rhsm.conf should be INFO to honor bug 1266935
default_log_level in rhsm.conf should be INFO to honor bug 1266935
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager (Show other bugs)
7.3
Unspecified Unspecified
high Severity low
: rc
: 7.3
Assigned To: Chris Snyder
John Sefler
: EasyFix, Regression, Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-08-08 15:26 EDT by John Sefler
Modified: 2016-11-03 16:30 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-11-03 16:30:27 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Github candlepin/python-rhsm/pull/178 None None None 2016-08-08 15:40 EDT
Github candlepin/subscription-manager/pull/1465 None None None 2016-08-08 15:40 EDT
Red Hat Product Errata RHSA-2016:2592 normal SHIPPED_LIVE Moderate: subscription-manager security, bug fix, and enhancement update 2016-11-03 08:10:42 EDT

  None (edit)
Description John Sefler 2016-08-08 15:26:26 EDT
Description of problem:

Prior to an upgrade that pulls in recent changes for bug 1334916, the default logging level in /etc/rhsm/logging.conf was INFO as established by bug 1226935.  After an upgrade that includes subscription-manager commit https://github.com/candlepin/subscription-manager/commit/7218097e03b9255e74c41e13772698fc52f92ec6 the new default logging level is DEBUG.  This should be INFO.


Version-Release number of selected component (if applicable):
[root@jsefler-rhel7 ~]# rpm -q subscription-manager
subscription-manager-1.18.1-1.git.22.98d5d5f.el7.x86_64

How reproducible:


Steps to Reproduce:
[root@jsefler-rhel7 ~]# rpm -q subscription-manager
subscription-manager-1.17.9-1.el7.x86_64
[root@jsefler-rhel7 ~]# grep "handler_rhsm_log" -A2 /etc/rhsm/logging.conf 
[handler_rhsm_log]
class=subscription_manager.logutil.RHSMLogHandler
level=INFO

Upgrade subscription-manager to include the fix for bug 1334916

[root@jsefler-rhel7 ~]# rpm -q subscription-manager
subscription-manager-1.18.1-1.git.22.98d5d5f.el7.x86_64
[root@jsefler-rhel7 ~]# grep "logging" -A1 /etc/rhsm/rhsm.conf 
[logging]
default_log_level = DEBUG



Actual results:
   default_log_level = DEBUG

Expected results:
   default_log_level = INFO

Additional info:
Comment 3 Shwetha Kallesh 2016-08-30 06:09:48 EDT
verified that Default log level is INFO in /etc/rhsm/rhsm.conf file

[root@dhcp35-208 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 0.9.51.11-1
subscription management rules: 5.15
subscription-manager: 1.17.11-1.el7
python-rhsm: 1.17.7-1.el7


[root@dhcp35-208 ~]# grep "logging" -A1 /etc/rhsm/rhsm.conf 
[logging]
default_log_level = INFO
Comment 5 errata-xmlrpc 2016-11-03 16:30:27 EDT
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/RHSA-2016-2592.html

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