EnglishFrenchSpanish

OnWorks favicon

varnishlog - Online in the Cloud

Run varnishlog in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command varnishlog that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


varnishlog - Display Varnish logs

SYNOPSIS


varnishlog [-a] [-A] [-b] [-c] [-C] [-d] [-D] [-g <session|request|vxid|raw>] [-h] [-i
taglist] [-I <[taglist:]regex>] [-k num] [-L limit] [-n name] [-N filename] [-P file] [-q
query] [-r filename] [-t <seconds|off>] [-T seconds] [-v] [-V] [-w filename] [-x taglist]
[-X <[taglist:]regex>]

OPTIONS


The following options are available:

-a When writing output to a file with the -w option, append to it rather than
overwrite it.

-A When writing output to a file with the -w option, output data in ascii format.

-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 Start processing log records at the head of the log instead of the tail.

-D Daemonize.

-g <session|request|vxid|raw>
The grouping of the log records. The default is to group by vxid.

-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 -i options 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.

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 to 1000
transactions.

-n name
Specify the name of the varnishd instance to get logs from. If -n is not specified,
the host name is used.

-N filename
Specify the filename of a stale VSM instance. When using this option the
abandonment checking is disabled.

-P file
Write the process' PID to the specified file.

-q query
Specifies the VSL query to use.

-r filename
Read log in binary file format from this file. The file can be created with
varnishlog -w filename.

-t <seconds|off>
Timeout before returning error on initial VSM connection. If set the VSM connection
is retried every 0.5 seconds 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 indefinetely for
the Varnish instance to appear. Defaults to 5 seconds.

-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 to 120
seconds.

-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 -a option 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 by
varnishlog and other tools with the -r option, unless the -A option was specified.
This option is required when running in daemon mode.

-x taglist
Exclude log records of these tags in output. Taglist is a comma-separated list of
tag globs. Multiple -x options 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.

SIGNALS


· SIGHUP

Rotate the log file (see -w option)

· SIGUSR1

Flush any outstanding transactions

Use varnishlog online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    OfficeFloor
    OfficeFloor
    OfficeFloor provides inversion of
    coupling control, with its: - dependency
    injection - continuation injection -
    thread injection For more information
    visit the...
    Download OfficeFloor
  • 2
    DivKit
    DivKit
    DivKit is an open source Server-Driven
    UI (SDUI) framework. It allows you to
    roll out server-sourced updates to
    different app versions. Also, it can be
    used fo...
    Download DivKit
  • 3
    subconverter
    subconverter
    Utility to convert between various
    subscription format. Shadowrocket users
    should use ss, ssr or v2ray as target.
    You can add &remark= to
    Telegram-liked HT...
    Download subconverter
  • 4
    SWASH
    SWASH
    SWASH is a general-purpose numerical
    tool for simulating unsteady,
    non-hydrostatic, free-surface,
    rotational flow and transport phenomena
    in coastal waters as ...
    Download SWASH
  • 5
    VBA-M (Archived - Now on Github)
    VBA-M (Archived - Now on Github)
    Project has moved to
    https://github.com/visualboyadvance-m/visualboyadvance-m
    Features:Cheat creationsave statesmulti
    system, supports gba, gbc, gb, sgb,
    sgb2Tu...
    Download VBA-M (Archived - Now on Github)
  • 6
    Stacer
    Stacer
    Linux System Optimizer and Monitoring
    Github Repository:
    https://github.com/oguzhaninan/Stacer.
    Audience: End Users/Desktop. User
    interface: Qt. Programming La...
    Download Stacer
  • More »

Linux commands

  • 1
    7za
    7za
    7za - A file archiver with highest
    compression ratio ...
    Run 7za
  • 2
    7zr
    7zr
    7zr - A file archiver with highest
    compression ratio ...
    Run 7zr
  • 3
    cpan
    cpan
    cpan - easily interact with CPAN from
    the command line ...
    Run cpan
  • 4
    cpan2debp
    cpan2debp
    dh-make-perl - Create debian source
    packages from Perl modules ...
    Run cpan2debp
  • 5
    fweelin
    fweelin
    freewheeling � live looping musical
    instrument ...
    Run fweelin
  • 6
    fwexec
    fwexec
    fwexec - program to upload and rexecute
    image file to a connected NXT device ...
    Run fwexec
  • More »

Ad