From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:22.214.171.124) Gecko/20070313 Fedora/126.96.36.199-5.fc6 Firefox/188.8.131.52
Description of problem:
"emulate_httpd_log on" does not log in httpd format.
this was no problem in rhl7.3, fc3, ...
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. emulate_httpd_log off
2. restart squid
3. emulate_httpd_log on
4. restart squid
the log is always in the squid format and no httpd log format.
should work as in rhl7.3, fc3, ...
grep emulate /etc/squid/squid.conf
# TAG: emulate_httpd_log on|off
# The Cache can emulate the log file format which many 'httpd'
# emulate_httpd_log to 'off' or 'on'. The default
# the access log (for either the native or httpd-emulated log
1175431811.785 1582 192.168.101.3 TCP_MISS/200 17468 CONNECT bugzilla.redhat.com:443 - DIRECT/184.108.40.206 -
172.16.0.60 - user [01/Apr/2007:14:37:30 +0200] "GET http://xxxx.com/xxxx/xxxx HTTP/1.1" 200 3535 TCP_CLIENT_REFRESH_MISS:DIRECT
according to source code tag access_log has precedence over emulate_httpd_log.
Check whether there is
in your squid.conf file and not
access_log /var/log/squid/access.log squid
which is by default.
I didn't found whether any other log then access_log cares about
emulate_httpd_log tag. it seems that using format defined by logformat tag is
i am closing this as NOTABUG, but if this didn't help feel free to reopen this bug.
thanks for your info,
i could not find "access_log" in rhl7.3/fc3 squid.conf only cache_access_log.
both are ok for httpd/common log format:
access_log /var/log/squid/access.log common