-
Notifications
You must be signed in to change notification settings - Fork 2
/
options.txt
80 lines (68 loc) · 3.43 KB
/
options.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
-n varnish_name
Same as the -n option for varnishd and other Varnish binaries;
i.e. the 'varnish name' indicating the directory containing
the mmap'd file used by varnishd for the shared memory log. By
default, the host name is assumed (as with varnishd). Also set
by the config parameter 'varnish.name'. The -n and -f options
are mutually exclusive.
-c config_file
Path of a configuration file. If /etc/trackrdrd.conf exists
and is readable, then its values are read first. If a file is
specified by the -c option, then that file is read next, and
config values that it specifies override values specified in
/etc/trackrdrd.conf. Finally, config values specified on the
command line override values specified in any config file. If
no config files or other command line options are set, default
config values hold.
-u user
Owner of the child process. By default, the child process runs
as 'nobody'. Also set by the config parameter 'user'.
-P pid_file
Path of a file written by the management process that contains
its process ID. By default, no PID file is written. Also set
by the config parameter 'pid.file'.
-l log_file
Log file for status, warning, debug and error messages. If '-'
is specified, then log messages are written to stdout. By
default, syslog(3) is used for logging. Log levels correspond
to the 'priorities' defined by syslog(3). Also set by the config
parameter 'log.file'.
-y syslog_facility
Set the syslog facility; legal values are 'user' or 'local0'
through 'local7', and the default is 'local0'. Options -y and
-l are mutually exclusive. Also set by the config parameter
'syslog.facility'.
-D
Run as a non-demon single process (for testing and
debugging). By default, trackrdrd runs as a demon with a
management (parent) process and worker (child) process.
-f varnishlog_bindump
A binary dump of the Varnish SHM log produced by 'varnishlog
-w'. If this option is specified, trackrdrd reads from the
dump instead of a live SHM log (useful for debugging and
replaying traffic). The options -f and -n are mutually
exclusive; -n is the default. Also set by the config parameter
'varnish.bindump'.
-L limit
Sets the upper limit of incomplete transactions kept by the
Varnish logging API before the oldest transaction is force
completed. An error message is logged when this happens. This
setting keeps an upper bound on the memory usage of running
queries. Defaults to 1000 transactions. The same as the -L
option for standard Varnish logging tools such as
varnishlog(3).
-T seconds
Sets the transaction timeout in seconds for the Varnish
logging API. This defines the maximum number of seconds
elapsed between the beginning and end of the log
transaction. If the timeout expires, the error message from
the API is logged, and the transaction is force
completed. Defaults to 120 seconds. The same as the -T option
for standard Varnish logging tools such as varnishlog(3).
-d
Sets the log level to LOG_DEBUG. The default log level is
LOG_INFO.
-V
Print version and exit
-h
Print usage and exit