[
https://issues.apache.org/jira/browse/TS-40?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
George Paul updated TS-40:
--------------------------
Attachment: TS-40_squid_log_caun.diff
This patch will re-add the squid log field 'caun'. From the traffic server
squid log documentation:
'caun' - The username of the authenticated client. A hyphen (-) means that no
authentication was required.
Since the authentication code and modules were removed/disabled, the default
will be to show '-' in the squid.log
patch -p0 -i TS-40_squid_log_caun.diff
Tested with ASCII squid logging enabled.
Please review and let me know if there are any issues.
-George
> Squid log format doesn't work
> -----------------------------
>
> Key: TS-40
> URL: https://issues.apache.org/jira/browse/TS-40
> Project: Traffic Server
> Issue Type: Bug
> Components: Logging
> Affects Versions: 2.0a
> Reporter: Leif Hedstrom
> Attachments: log_caun_removal.patch, TS-40_squid_log_caun.diff
>
>
> Discovered by IRC user asim, and George Paul:
> When enabling squid logging, we fail (nothing gets logged) and an error in
> /var/log/messages:
> Nov 16 10:41:47 loki logcat[3187]: {3085895472} NOTE: There are more field
> markers than fields; cannot process log entry
> George noticed that the "caun" logging format is removed from logging/Log.cc,
> but it's still used in the Squid log format. We're still investigating here
> why this was removed, but should have a fix really soon.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.