Revision: 14447
Author: adrian.chadd
Date: Fri Mar 5 04:07:46 2010
Log: Properly set the method string!
http://code.google.com/p/lusca-cache/source/detail?r=14447
Modified:
/branches/LUSCA_HEAD/src/access_log.c
=======================================
--- /branches/LUSCA_HEAD/src/access_log.c Mon Oct 26 23:58:33 2009
+++ /branches/LUSCA_HEAD/src/access_log.c Fri Mar 5 04:07:46 2010
@@ -1127,6 +1127,10 @@
client = inet_ntoa(al->cache.caddr);
user1 = accessLogFormatName(al->cache.authuser);
user2 = accessLogFormatName(al->cache.rfc931);
+ if (al->icp.opcode)
+ al->private.method_str = icp_opcode_str[al->icp.opcode];
+ else
+ al->private.method_str = urlMethodGetConstStr(al->http.method);
logfilePrintf(logfile, "%s %s %s [%s] \"%s %s HTTP/%d.%d\" %d %"
PRINTF_OFF_T " %s:%s",
client,
user2 ? user2 : dash_str,
--
You received this message because you are subscribed to the Google Groups
"lusca-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/lusca-commit?hl=en.