1VARNISHNCSA(1)            BSD General Commands Manual           VARNISHNCSA(1)
2

NAME

4     varnishncsa — Display Varnish logs in Apache / NCSA combined log format
5

SYNOPSIS

7     varnishncsa [-a] [-b] [-C] [-c] [-D] [-d] [-I regex] [-i tag]
8                 [-n varnish_name] [-P file] [-r file] [-V] [-w file]
9                 [-X regex] [-x tag]
10

DESCRIPTION

12     The varnishncsa utility reads varnishd(1) shared memory logs and presents
13     them in the Apache / NCSA "combined" log format.
14
15     The following options are available:
16
17     -a          When writing to a file, append to it rather than overwrite
18                 it.
19
20     -b          Include log entries which result from communication with a
21                 backend server.  If neither -b nor -c is specified,
22                 varnishncsa acts as if they both were.
23
24     -C          Ignore case when matching regular expressions.
25
26     -c          Include log entries which result from communication with a
27                 client.  If neither -b nor -c is specified, varnishncsa acts
28                 as if they both were.
29
30     -D          Daemonize.
31
32     -d          Process old log entries on startup.  Normally, varnishncsa
33                 will only process entries which are written to the log after
34                 it starts.
35
36     -I regex    Include log entries which match the specified regular expres‐
37                 sion.  If neither -I nor -i is specified, all log entries are
38                 included.
39
40     -i tag      Include log entries with the specified tag.  If neither -I
41                 nor -i is specified, all log entries are included.
42
43     -n          Specifies the name of the varnishd instance to get logs from.
44                 If -n is not specified, the host name is used.
45
46     -P file     Write the process's PID to the specified file.
47
48     -r file     Read log entries from file instead of shared memory.
49
50     -V          Display the version number and exit.
51
52     -w file     Write log entries to file instead of displaying them.  The
53                 file will be overwritten unless the -a option was specified.
54
55                 If varnishncsa receives a SIGHUP while writing to a file, it
56                 will reopen the file, allowing the old one to be rotated
57                 away.
58
59     -X regex    Exclude log entries which match the specified regular expres‐
60                 sion.
61
62     -x tag      Exclude log entries with the specified tag.
63

SEE ALSO

65     varnishd(1), varnishhist(1), varnishlog(1), varnishstat(1),
66     varnishtop(1),
67

HISTORY

69     The varnishncsa utility was developed by Poul-Henning Kamp
70     <phk@phk.freebsd.dk> in cooperation with Verdens Gang AS and Linpro AS.
71     This manual page was written by Dag-Erling Smørgrav <des@linpro.no>.
72
73BSD                            November 8, 2007                            BSD
Impressum