Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 795404

Summary: Katello does not respect KATELLO_LOGGING setting
Product: Red Hat Satellite Reporter: Lukas Zapletal <lzap>
Component: Content ManagementAssignee: Lukas Zapletal <lzap>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: omaciel
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-22 18:28:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lukas Zapletal 2012-02-20 12:31:23 UTC
Steps to Reproduce:
1. Edit /etc/sysconfig/katello and set KATELLO_LOGGING=debug
2. Restart katello
3. Do "katello ping" and open production.log
  
Actual results:

Nothing is logged

Expected results:

[ INFO: 2012-02-20 13:27:44 #4008]   Processing by Api::PingController#index as JSON
[DEBUG: 2012-02-20 13:27:44 #4008] Setting locale: en
[DEBUG: 2012-02-20 13:27:44 #4008] Warden is authenticating admin against database
[DEBUG: 2012-02-20 13:27:44 #4008] User admin authenticated: database
[DEBUG: 2012-02-20 13:27:44 #4008] Setting current user thread-local variable to admin
[DEBUG: 2012-02-20 13:27:44 #4008] Resource GET request: /pulp/api/users/
[DEBUG: 2012-02-20 13:27:44 #4008] Processing response: 200
[DEBUG: 2012-02-20 13:27:44 #4008] Resource GET request: /candlepin/status
[DEBUG: 2012-02-20 13:27:44 #4008] Processing response: 200
[DEBUG: 2012-02-20 13:27:44 #4008] Setting current user thread-local variable to nil
[ INFO: 2012-02-20 13:27:44 #4008] Completed 200 OK in 298ms (Views: 2.0ms | ActiveRecord: 44.7ms)

Additional info:

Introduced with: https://bugzilla.redhat.com/show_bug.cgi?id=790966

Comment 1 Lukas Zapletal 2012-02-20 12:31:53 UTC
Taking, I need to get this bug fixed to be able to debug others.

Comment 2 Lukas Zapletal 2012-02-20 12:34:32 UTC
Pushed upstream:

562a4d9 795404 - Katello does not respect KATELLO_LOGGING setting

Comment 4 Lukas Zapletal 2012-02-21 14:42:21 UTC
QA: This one is very similar and could be VERIFYied once: https://bugzilla.redhat.com/show_bug.cgi?id=795758

Comment 5 Og Maciel 2012-02-24 20:18:20 UTC
Validated:
* candlepin-0.5.22-1.el6.noarch
* candlepin-tomcat6-0.5.22-1.el6.noarch
* katello-0.1.300-1.el6.noarch
* katello-all-0.1.300-1.el6.noarch
* katello-certs-tools-1.0.2-2.el6.noarch
* katello-cli-0.1.100-2.el6.noarch
* katello-cli-common-0.1.100-2.el6.noarch
* katello-common-0.1.300-1.el6.noarch
* katello-configure-0.1.100-7.el6.noarch
* katello-glue-candlepin-0.1.300-1.el6.noarch
* katello-glue-foreman-0.1.300-1.el6.noarch
* katello-glue-pulp-0.1.300-1.el6.noarch
* katello-httpd-ssl-key-pair-1.0-1.noarch
* katello-qpid-broker-key-pair-1.0-1.noarch
* katello-repos-0.1.5-1.el6.noarch
* katello-selinux-0.1.7-1.el6.noarch
* katello-trusted-ssl-cert-1.0-1.noarch
* pulp-0.0.267-2.el6.noarch
* pulp-admin-0.0.267-2.el6.noarch
* pulp-client-lib-0.0.267-2.el6.noarch
* pulp-common-0.0.267-2.el6.noarch
* pulp-selinux-server-0.0.267-2.el6.noarch