Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84184 - squid.conf reference to not existing "cache_access_log"
Summary: squid.conf reference to not existing "cache_access_log"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Network Proxy Developers (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-05 05:57 UTC by caspar-gentoo-bugs
Modified: 2005-03-06 12:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description caspar-gentoo-bugs 2005-03-05 05:57:01 UTC
Update from 2.5.8 to 2.5.9.  Current version 2.5.9.

When working through the new squid.conf I noticed the following:

The "cache_access_log" directive doesn't exist anymore.  I got replaced by "log_access".

The documentation of "log_access" refers to "cache_access_log" as if it still existed -- "(see cache_access_log directive).  That's at least confusing.

Reproducible: Always
Steps to Reproduce:
1. grep "cache_access_log" on 2.5.9 squid.conf. 
Actual Results:  
This single line is found:
#       to access.log (see cache_access_log directive). Requests denied

Expected Results:  
Should explicitly state that the new directive replaced the old one.
Comment 1 caspar-gentoo-bugs 2005-03-05 06:36:20 UTC
After looking through the dispersed changes I messed something up:

"cache_access_log" got replaced by "access_log" and "log_access" is a modifier to "access_log".

The reference with "log_access" to see "cache_access_log" is still wrong but just needs to be corrected to reference "access_log".

Looks as if not only me got confused my "access_log", "log_access" and "cache_access_log".
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2005-03-05 08:14:31 UTC
*** Bug 84193 has been marked as a duplicate of this bug. ***
Comment 3 caspar-gentoo-bugs 2005-03-05 08:27:24 UTC
It's two things:

a) wrong reference in documentation of "log_access" directive
b) missing "logformat" directive for "access_log" directive default entry
Comment 4 Alin Năstac (RETIRED) gentoo-dev 2005-03-06 12:56:38 UTC
fixed in 2.5.9-r1:
 - I replaced cache_access_log with access_log in squid.conf comments
 - put a "default" to logformat. My tests have proved that squid and common formats exists without any logformat directive.