Commit b8dae43f authored by Dag Erling Smørgrav's avatar Dag Erling Smørgrav

Bring up-to-date.

git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1022 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 401ccfd7
.\" .\"
.\" $Id$ .\" $Id$
.\" .\"
.Dd July 11, 2006 .Dd September 16, 2006
.Dt VARNISHNCSA 1 .Dt VARNISHNCSA 1
.Os .Os
.Sh NAME .Sh NAME
.Nm varnishncsa .Nm varnishncsa
.Nd Generate NCSA common / combined logs .Nd Generate NCSA logs
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm .Nm
.Op Fl C .Op Fl a
.Op Fl b .Op Fl b
.Op Fl C
.Op Fl c .Op Fl c
.Op Fl o .Op Fl d
.Op Fl I Ar regex .Op Fl I Ar regex
.Op Fl X Ar regex
.Op Fl i Ar tag .Op Fl i Ar tag
.Op Fl r Ar file .Op Fl r Ar file
.Op Fl V
.Op Fl w Ar file .Op Fl w Ar file
.Op Fl X Ar regex
.Op Fl x Ar tag .Op Fl x Ar tag
.Sh DESCRIPTION .Sh DESCRIPTION
The The
.Nm .Nm
utility reads and presents utility reads
.Xr varnishd 1 .Xr varnishd 1
shared memory logs. shared memory logs and presents them in the NCSA "common" or
"combined" log format.
.Pp .Pp
The following options are available: The following options are available:
.Bl -tag -width Fl .Bl -tag -width Fl
.It Fl C .It Fl a
Ignore case when matching regular expressions. When writing to a file, append to it rather than overwrite it.
.It Fl b .It Fl b
Include log entries which result from communication with a backend Include log entries which result from communication with a backend
server. server.
...@@ -40,6 +43,8 @@ nor ...@@ -40,6 +43,8 @@ nor
is specified, is specified,
.Nm .Nm
acts as if they both were. acts as if they both were.
.It Fl C
Ignore case when matching regular expressions.
.It Fl c .It Fl c
Include log entries which result from communication with a client. Include log entries which result from communication with a client.
If neither If neither
...@@ -49,8 +54,12 @@ nor ...@@ -49,8 +54,12 @@ nor
is specified, is specified,
.Nm .Nm
acts as if they both were. acts as if they both were.
.It Fl o .It Fl d
Group log entries by request ID. Process old log entries on startup.
Normally,
.Nm
will only process entries which are written to the log after it
starts.
.It Fl I Ar regex .It Fl I Ar regex
Include log entries which match the specified regular expression. Include log entries which match the specified regular expression.
If neither If neither
...@@ -58,8 +67,6 @@ If neither ...@@ -58,8 +67,6 @@ If neither
nor nor
.Fl i .Fl i
is specified, all log entries are included. is specified, all log entries are included.
.It Fl X Ar regex
Exclude log entries which match the specified regular expression.
.It Fl i Ar tag .It Fl i Ar tag
Include log entries with the specified tag. Include log entries with the specified tag.
If neither If neither
...@@ -71,53 +78,26 @@ is specified, all log entries are included. ...@@ -71,53 +78,26 @@ is specified, all log entries are included.
Read log entries from Read log entries from
.Ar file .Ar file
instead of shared memory. instead of shared memory.
.It Fl V
Display the version number and exit.
.It Fl w Ar file .It Fl w Ar file
Write log entries to Write log entries to
.Ar file .Ar file
instead of displaying them. instead of displaying them.
The file will be overwritten unless the
.Fl a
option was specified.
.It Fl X Ar regex
Exclude log entries which match the specified regular expression.
.It Fl x Ar tag .It Fl x Ar tag
Exclude log entries with the specified tag. Exclude log entries with the specified tag.
.El .El
.Sh TAGS
The following log entry tags are currently defined:
.\" keep in sync with include/shmlog_tags.h
.\" XXX add descriptions
.Bl -tag -width 16
.It Dv Backend
.It Dv BackendClose
.It Dv BackendOpen
.It Dv BackendReuse
.It Dv BackendXID
.It Dv BldHdr
.It Dv CLI
.It Dv ClientAddr
.It Dv Debug
.It Dv Error
.It Dv ExpBan
.It Dv ExpKill
.It Dv ExpPick
.It Dv Header
.It Dv Hit
.It Dv HttpError
.It Dv Length
.It Dv LostHeader
.It Dv Protocol
.It Dv Request
.It Dv Response
.It Dv SessionClose
.It Dv SessionOpen
.It Dv SessionReuse
.It Dv Status
.It Dv URL
.It Dv VCL_call
.It Dv VCL_return
.It Dv VCL_trace
.It Dv WorkThread
.It Dv XID
.El
.Sh SEE ALSO .Sh SEE ALSO
.Xr varnishd 1 , .Xr varnishd 1 ,
.Xr varnishstat 1 .Xr varnishhist 1 ,
.Xr varnishlog 1 ,
.Xr varnishstat 1 ,
.Xr varnishtop 1 ,
.Sh HISTORY .Sh HISTORY
The The
.Nm .Nm
......
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