Commit d56069e8 authored by Andreas Plesner Jacobsen's avatar Andreas Plesner Jacobsen
parents b09f55ec 4633d008
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
* Obtain log data from the shared memory log, order it by session ID, and * Obtain log data from the shared memory log, order it by session ID, and
* display it in Apache / NCSA combined log format: * display it in Apache / NCSA combined log format:
* *
* %h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-agent}i" * %h %l %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i"
* *
* where the fields are defined as follows: * where the fields are defined as follows:
* *
...@@ -716,7 +716,7 @@ h_ncsa(void *priv, enum VSL_tag_e tag, unsigned fd, ...@@ -716,7 +716,7 @@ h_ncsa(void *priv, enum VSL_tag_e tag, unsigned fd,
VSB_cat(os, (lp->df_hitmiss ? lp->df_hitmiss : "-")); VSB_cat(os, (lp->df_hitmiss ? lp->df_hitmiss : "-"));
p = tmp; p = tmp;
break; break;
} else if (strcmp(fname, "handling") == 0) { } else if (strcmp(fname, "Varnish:handling") == 0) {
VSB_cat(os, (lp->df_handling ? lp->df_handling : "-")); VSB_cat(os, (lp->df_handling ? lp->df_handling : "-"));
p = tmp; p = tmp;
break; break;
......
...@@ -52,7 +52,7 @@ The following options are available: ...@@ -52,7 +52,7 @@ The following options are available:
-F format Specify the log format used. If no format is specified the -F format Specify the log format used. If no format is specified the
default log format is used. Currently it is: default log format is used. Currently it is:
%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-agent}i" %h %l %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i"
Supported formatters are: Supported formatters are:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment