Bug 672859

Summary: logging is not occurring in rhel5 pulp
Product: [Retired] Pulp Reporter: Preethi Thomas <pthomas>
Component: z_otherAssignee: Jeff Ortel <jortel>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: medium Docs Contact:
Priority: high    
Version: unspecifiedCC: skarmark
Target Milestone: ---Keywords: Triaged
Target Release: Sprint 20   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-16 12:09:46 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:
Bug Depends On:    
Bug Blocks: 647488    

Description Preethi Thomas 2011-01-26 15:51:04 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Preethi Thomas 2011-01-26 15:52:26 UTC
pulp.log and client.log in Rhel5 is not logging any info

[root@pulp-qe-rhel5 ~]# rpm -q pulp
pulp-0.0.131-1


[root@pulp-qe-rhel5 ~]# ls -l /var/log/pulp/
total 24
-rw-r--r-- 1 root apache  0 Jan 19 09:45 client.log
-rw-r--r-- 1 root apache 86 Jan 19 10:22 db.log
-rw-r--r-- 1 root apache  0 Jan 19 13:03 events.log
-rw-r--r-- 1 root apache  0 Jan 19 13:03 grinder.log
-rw-r--r-- 1 root apache  0 Jan 19 13:03 pulp.log

Comment 2 Jeff Ortel 2011-01-27 23:37:32 UTC
The python logging format macro: %(funcName)s() not supported on python 2.4.  Changed logging format to only use it when python >= 2.5.
Commit: 962146dacbf88702f8bf55e909bd6ade3448cb78

Comment 3 Jay Dobies 2011-02-02 20:07:12 UTC
Fixed in 0.134.

Comment 4 Preethi Thomas 2011-02-04 15:05:23 UTC
hmm,
Looks like this is fails_qa

After following the install steps for pulp on rhel5, the only log files I see are

[root@unused yum.repos.d]# ls -l /var/log/pulp/
total 20
-rw-r--r-- 1 root apache 6151 Feb  4 09:59 client.log
-rw-r--r-- 1 root apache  170 Feb  4 09:25 db.log


pulp.log seems to be missing

Comment 5 Preethi Thomas 2011-02-04 15:45:59 UTC
my mistake.

Looks like the logging is working

moving to verified



[root@unused yum.repos.d]# rpm -q pulp
pulp-0.0.134-1
[root@unused yum.repos.d]# ls -l /var/log/pulp/
total 44
-rw-r--r-- 1 root   apache 12137 Feb  4 10:41 client.log
-rw-r--r-- 1 root   apache   170 Feb  4 09:25 db.log
-rw-r--r-- 1 apache apache   940 Feb  4 10:38 events.log
-rw-r--r-- 1 apache apache     0 Feb  4 10:38 grinder.log
-rw-r--r-- 1 apache apache  1081 Feb  4 10:38 pulp.log

Comment 6 Preethi Thomas 2011-08-16 12:09:46 UTC
Closing with Community Release 15

pulp-0.0.223-4.

Comment 7 Preethi Thomas 2011-08-16 12:22:06 UTC
Closing with Community Release 15

pulp-0.0.223-4.