vinyllog(1)
π NAME π
okay bestie, this is vinyllog(1), from the General Commands Manual β and the whole vibe is right here: vinyllog β Display Vinyl Cache logs. π That's it. It displays Vinyl Cache logs. Iconic. β¨
π¦ SYNOPSIS π¦
vinyllog [-0] [-a] [-A] [-b] [-c] [-C] [-d] [-D] [-E] [-g
<session|request|vxid|raw>] [-h] [-i <taglist>] [-I <[taglist:]regex>]
[-k <num>] [-L <limit>] [-n <workdir>] [-P <file>] [-Q <file>] [-q
<query>] [-r <filename>] [-R <limit[/duration]>] [-t <seconds|off>] [-T
<seconds>] [-u] [-v] [-V] [-w <filename>] [-x <taglist>] [-X
<[taglist:]regex>]
π OPTIONS π
The following options are available:
-0β Return immediately (i.e. process0transactions) if the configuration is valid. This option means the process does not try to write a PID file, daemonize, connect to a VSM, or open a log file, but it will run all the other pre-flight operation, including validating the VSL queries. πβ¨-aβ When writing output to a file with the-woption, append to it rather than overwrite it. This option has no effect without the-woption. π-Aβ When writing output to a file with the-woption, output data in ascii format. This option has no effect without the-woption. πΈ-bβ Only display transactions and log records coming from backend communication. π¦-cβ Only display transactions and log records coming from client communication. π-Cβ Do all regular expression and string matching caseless. π-dβ Process log records at the head of the log and exit. πͺ-Dβ Daemonize. π-Eβ Display ESI transactions and other types of sub-requests. This implies the-coption and includes other client transactions. β¨-g <session|request|vxid|raw>β The grouping of the log records. The default is to group byvxid. π§-hβ Print program usage and exit. π«Ά-i <taglist>β Include log records of these tags in output. Taglist is a comma-separated list of tag globs. Multiple-ioptions may be given.
If a tag include option is the first of any tag selection options, all tags are first marked excluded. π
-I <[taglist:]regex>β Include by regex matching. Output only records matching taglist and regular expression. Applies to any tag if taglist is absent. Multiple-Ioptions may be given.
If a tag include option is the first of any tag selection options, all tags are first marked excluded. π₯
-k <num>β Process this number of matching log transactions before exiting. π-L <limit>β Sets the upper limit of incomplete transactions kept before the oldest transaction is force completed. A warning record is synthesized when this happens. This setting keeps an upper bound on the memory usage of running queries. Defaults to1000transactions. π§-n <workdir>β Specify the vinyl working directory of the instance to attach to. Seevinyld(1)-noption documentation for additional information and defaults. π-P <file>β Write the process' PID to the specified file. πͺͺ-Q <file>β Specifies the file containing the VSL query to use. When multiple-Qor-qoptions are specified, all queries are considered as if the'or'operator was used to combine them. π-q <query>β Specifies the VSL query to use. When multiple-qor-Qoptions are specified, all queries are considered as if the'or'operator was used to combine them. πͺ-r <filename>β Read log in binary file format from this file. The file can be created withvinyllog -w filename. If the filename is-, logs are read from the standard input. and cannot work as a daemon. π₯-R <limit[/duration]>β Restrict the output to the specified limit. Transactions exceeding the limit will be suppressed. The limit is specified as the maximum number of transactions (with respect to the chosen grouping method) and an optional time period. If no duration is specified, a default ofsis used. The duration field can be formatted as in VCL (e.g.-R 10/2m) or as a simple time period without the prefix (e.g.-R 5/m). When in-g rawgrouping mode, this setting can not be used alongside-i,-I,-xor-X, and we advise using-qinstead. β³-t <seconds|off>β Timeout before returning error on initial VSM connection. If set the VSM connection is retried every0.5seconds for this many seconds. If zero the connection is attempted only once and will fail immediately if unsuccessful. If set to"off", the connection will not fail, allowing the utility to start and wait indefinitely for thevinyldinstance to appear. Defaults to5seconds. β±οΈ-T <seconds>β Sets the transaction timeout in seconds. This defines the maximum number of seconds elapsed between a Begin tag and the End tag. If the timeout expires, a warning record is synthesized and the transaction is force completed. Defaults to120seconds. β-uβ When writing output to a file with the-woption, output data is not buffered. This option has no effect without the-woption. π-vβ Use verbose output on record set printing, giving the VXID on every log line. Without this option, the VXID will only be given on the header of that transaction. π-Vβ Print version information and exit. π·οΈ-w <filename>β Redirect output to file. The file will be overwritten unless the-aoption was specified. If the application receives a SIGHUP in daemon mode the file will be reopened allowing the old one to be rotated away. The file can then be read byvinyllogand other tools with the-roption, unless the-Aoption was specified. This option is required when running in daemon mode. If the filename is-,vinyllogwrites to the standard output and cannot work as a daemon. π-x <taglist>β Exclude log records of these tags in output. Taglist is a comma-separated list of tag globs. Multiple-xoptions may be given. π-X <[taglist:]regex>β Exclude by regex matching. Do not output records matching taglist and regular expression. Applies to any tag if taglist is absent. Multiple-Xoptions may be given. π«--optstringβ Print the optstring parameter togetopt(3)to help writing wrapper scripts. π οΈ
π¨ SIGNALS π¨
- SIGHUP β Rotate the log file (see
-woption) in daemon mode, abort the loop and die gracefully when running in the foreground. π - SIGUSR1 β Flush any outstanding transactions. π½β¨
π SEE ALSO π
πΈ HISTORY πΈ
The vinyllog utility was developed by Poul-Henning Kamp <<phk@phk.freebsd.dk>> in cooperation with Verdens Gang AS and Redpill-Linpro. This manual page was initially written by Dag-Erling SmΓΈrgrav, and later updated by Per Buer and Martin Blix Grydeland. π«Ά
π COPYRIGHT π
This document is licensed under the same licence as Vinyl Cache itself. See LICENCE for details. π
- Copyright (c) 2006 Verdens Gang AS
- Copyright (c) 2006-2015 Varnish Software AS
that's the whole page, bestie β vinyllog(1) from the General Commands Manual, and the footer was just vinyllog(1) with no date stamped in this copy, so I'm not inventing one. πβ¨π«Ά
π¦ where this page comes from
- arch rolling: vinyl-cache 9.1.0-1 Β· BSD-2-Clause
- π the page's license: BSD-2-Clause
- Copyright (c) 2010-2019 Varnish Software AS
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms