Bug 492919 - rhn proxy logs have changed, and I cant find a log that displays the equivalent of access.log
Summary: rhn proxy logs have changed, and I cant find a log that displays the equivale...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Satellite Proxy 5
Classification: Red Hat
Component: Server
Version: 530
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact: wes hayutin
URL: na
Whiteboard:
Depends On:
Blocks: 456999
TreeView+ depends on / blocked
 
Reported: 2009-03-30 18:13 UTC by wes hayutin
Modified: 2009-08-13 14:55 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-03-31 13:13:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description wes hayutin 2009-03-30 18:13:57 UTC
Description of problem:
rhn proxy logs have changed, and I cant find a log that displays the name of the pkgs xferred via the proxy

webui install on 
Satellite-5.3.0-RHEL5-re20090327.0-i386-embedded-oracle.iso
proxy 5.2

root@rlx-3-06 rhn]# pwd
/var/log/rhn
[root@rlx-3-06 rhn]# ls
rhn_proxy_broker.log  rhn_proxy_redirect.log
[root@rlx-3-06 rhn]# 

I'm looking for an equivalent log to squid's access.log

Comment 1 Miroslav Suchý 2009-03-31 07:32:59 UTC
AFAIK it did not changed.
rhn_proxy_broker.log and rhn_proxy_redirect.log are populated only if debug is set to non-zero value in /etc/rhn/rhn.conf

You are probably looking for apache log, which is /var/log/httpd/access_log. For squid it is /var/log/squid/access.log

Comment 2 wes hayutin 2009-03-31 11:46:22 UTC
hrm.. 
I'm wondering why there is a change in the proxy logging?
I'll try and bring up a 5.2 satellite and install a proxy so we can diff the two.
In satellite 4.1 - satellite 5.2 proxy logged by default to the squid access log where you could see the package names that were getting cached.

The new behaviour may be fine, but lets keep this bug open until we can determine what has changed.

Looking at the 5.2 docs for Proxy 5.2 which is what I installed
https://test10-64.rhndev.redhat.com/rhn/help/proxy/rhn520/en/s1-log-files.jsp

Apache Web server  	 /var/log/httpd/ directory
Squid 	/var/log/squid/ directory
RHN Proxy Broker Server 	/var/log/rhn/rhn_proxy_broker.log
RHN SSL Redirect Server 	/var/log/rhn/rhn_proxy_redirect.log
Red Hat Update Agent 	/var/log/up2date

Looks like we should have the logs in /var/log/squid.  
Is there a bug for a documentation change?

Comment 3 wes hayutin 2009-03-31 13:13:41 UTC
this is working on a 5.3 proxy that msuchy installed.

My proxy was a 5.2 proxy on sat 5.3 
I'll recheck on both 5.3 and 5.2 proxy


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