Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnishevent
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
varnishevent
Commits
ddad0eac
Commit
ddad0eac
authored
Dec 08, 2016
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compatibility with Varnish 4.1.3 through 5.0.0
parent
71fb23c8
Pipeline
#90
skipped
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
14 deletions
+28
-14
README.rst
README.rst
+22
-8
configure.ac
configure.ac
+3
-3
varnishevent.c
src/varnishevent.c
+3
-3
No files found.
README.rst
View file @
ddad0eac
...
...
@@ -7,8 +7,8 @@ Display Varnish log contents in formats for client, backend and other events
----------------------------------------------------------------------------
:Author: Geoffrey Simmons
:Date: 2016-12-0
6
:Version:
4.0
:Date: 2016-12-0
8
:Version:
trunk
:Manual section: 1
...
...
@@ -42,8 +42,10 @@ The main differences between varnishevent and varnishncsa(1) are:
* Outputs differ in a few cases where varnishevent emits an empty
string for data that are absent or unknown, while varnishncsa emits a
'-'.
* varnishncsa only logs client transactions, while varnishevent may
also log backend or raw transactions.
* varnishncsa only logs client and/or backend transactions, and does so
with one output format. varnishevent also allows raw transactions,
as well as simultaneous client and backend logging with different
output formats.
* Some additional output formatters are available.
* varnishevent is designed to keep pace reading the Varnish shared
memory log while varnishd is writing to it rapidly under heavy load,
...
...
@@ -138,6 +140,18 @@ OPTIONS
SIGHUP the file will be reopened allowing the old one to be
rotated away.
The ``-f`` option is incompatible with varnishncsa's
option. varnishncsa uses ``-f`` to read a single output format from a
file, while varnishevent's config file, read with ``-f``, specifies a
configuration (as described below), which may have different output
formats for client and backend logging.
varnishncsa has the ``-b`` and ``-c`` options to select backend and/or
client loggging. In varnishevent, this is determined by whether output
formats are specified for client or backend logging in the
configuration.
FORMAT
======
...
...
@@ -294,7 +308,7 @@ then:
REQUIREMENTS
============
This version of varnishevent requires Varnish 4.1.
0 through 4.1.2
.
This version of varnishevent requires Varnish 4.1.
3 through 5.0.0
.
See the project repository for version that are compatible with other
versions of Varnish.
...
...
@@ -712,8 +726,8 @@ COPYRIGHT AND LICENCE
For both the software and this document are governed by a BSD 2-clause
licence.
| Copyright (c) 2012-201
5
UPLEX Nils Goroll Systemoptimierung
| Copyright (c) 2012-201
5
Otto Gmbh & Co KG
| Copyright (c) 2012-201
6
UPLEX Nils Goroll Systemoptimierung
| Copyright (c) 2012-201
6
Otto Gmbh & Co KG
| All rights reserved
Redistribution and use in source and binary forms, with or without
...
...
@@ -743,4 +757,4 @@ as Varnish itself. See LICENCE in the Varnish distribution for
details.
* Copyright (c) 2006 Verdens Gang AS
* Copyright (c) 2006-201
5
Varnish Software AS
* Copyright (c) 2006-201
6
Varnish Software AS
configure.ac
View file @
ddad0eac
AC_PREREQ(2.59)
AC_COPYRIGHT([Copyright (c) 2015 UPLEX Nils Goroll Systemoptimierung
Copyright (c) 2015 Otto Gmbh & Co KG])
AC_INIT([varnishevent], [
4.1.2
])
AC_INIT([varnishevent], [
trunk
])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR(src/varnishevent.h)
AM_CONFIG_HEADER(config.h)
...
...
@@ -52,8 +52,8 @@ AM_CONDITIONAL(HAVE_RST2HTML,[test "x$RST2HTML" != "xno"])
# Check for pkg-config
PKG_PROG_PKG_CONFIG
PKG_CHECK_MODULES([VARNISH], [varnishapi >= 4.1.
0 varnishapi <= 4.1.2
], [],
[AC_MSG_ERROR([Varnish 4.1.
0 through 4.1.2
is required])])
PKG_CHECK_MODULES([VARNISH], [varnishapi >= 4.1.
3 varnishapi <= 5.0.0
], [],
[AC_MSG_ERROR([Varnish 4.1.
3 through 5.0.0
is required])])
AC_SUBST(VARNISH_CFLAGS)
AC_SUBST(VARNISH_LIBS)
PKG_CHECK_VAR([VARNISH_PKG_INCLUDE], [varnishapi], [pkgincludedir])
...
...
src/varnishevent.c
View file @
ddad0eac
...
...
@@ -623,12 +623,12 @@ main(int argc, char *argv[])
break
;
case
'V'
:
fprintf
(
stderr
,
"varnishevent (%s)
\n
"
,
version
);
fprintf
(
stderr
,
"Copyright (c) 2012-201
5
UPLEX Nils Goroll "
fprintf
(
stderr
,
"Copyright (c) 2012-201
6
UPLEX Nils Goroll "
"Systemoptimierung
\n
"
);
fprintf
(
stderr
,
"Copyright (c) 2012-201
5
Otto Gmbh & Co KG
\n
"
);
fprintf
(
stderr
,
"Copyright (c) 2012-201
6
Otto Gmbh & Co KG
\n
"
);
fprintf
(
stderr
,
"Portions adapted from Varnish:
\n
"
);
fprintf
(
stderr
,
"Copyright (c) 2006 Verdens Gang AS
\n
"
);
fprintf
(
stderr
,
"Copyright (c) 2006-201
5
Varnish Software AS
\n
"
);
fprintf
(
stderr
,
"Copyright (c) 2006-201
6
Varnish Software AS
\n
"
);
exit
(
EXIT_SUCCESS
);
case
'w'
:
REPLACE
(
w_arg
,
optarg
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment