Bug 672859 - logging is not occurring in rhel5 pulp
Summary: logging is not occurring in rhel5 pulp
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: Sprint 20
Assignee: Jeff Ortel
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: verified-to-close
TreeView+ depends on / blocked
 
Reported: 2011-01-26 15:51 UTC by Preethi Thomas
Modified: 2011-08-16 12:22 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-08-16 12:09:46 UTC
Embargoed:


Attachments (Terms of Use)

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.


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