Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnishevent3
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
varnishevent3
Commits
a86e92e1
Commit
a86e92e1
authored
Oct 13, 2013
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
varnishevent: added progress output to test ncsa.sh
parent
13c82f99
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
ncsa.sh
bin/varnishevent/test/ncsa.sh
+3
-0
No files found.
bin/varnishevent/test/ncsa.sh
View file @
a86e92e1
...
...
@@ -23,6 +23,7 @@ NCSA_LOG=$TMP/ncsa.log
DIFF_CMD
=
"diff -U 0
$EVENT_LOG
$NCSA_LOG
"
HUNK_THRESH
=
1
echo
"... default format"
$EVENT
-r
varnish.binlog |
sed
's/-//g'
>
$EVENT_LOG
$NCSA
-r
varnish.binlog |
sed
's/-//g'
>
$NCSA_LOG
...
...
@@ -36,6 +37,7 @@ if [ "$HUNKS" -gt "$HUNK_THRESH" ]; then
exit
1
fi
echo
"... -f format"
$EVENT
-r
varnish.binlog
-f
|
sed
's/-//g'
>
$EVENT_LOG
$NCSA
-r
varnish.binlog
-f
|
sed
's/-//g'
>
$NCSA_LOG
...
...
@@ -51,6 +53,7 @@ fi
FORMAT
=
"%b %H %h %{Host}i %{User-Agent}i %{Accept-Ranges}o %{Age}o %{Connection}o %{Content-Length}o %{Content-Type}o %{Date}o %{ETag}o %{Last-Modified}o %{Server}o %{Transfer-Encoding}o %{Vary}o %{Via}o %{X-Varnish}o %l %m %q %r %s %t %{%F-%T}t %U %u %{Varnish:time_firstbyte}x %{Varnish:hitmiss}x %{Varnish:handling}x %{VCL_Log:xid}x"
echo
"... custom -F format"
$EVENT
-r
varnish.binlog
-F
$FORMAT
|
sed
's/-//g'
>
$EVENT_LOG
$NCSA
-r
varnish.binlog
-F
$FORMAT
|
sed
's/-//g'
>
$NCSA_LOG
...
...
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