Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
9853a629
Commit
9853a629
authored
Nov 23, 2021
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
varnishlog: Document impotent options without -w
parent
a19457ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
varnishlog_options.h
bin/varnishlog/varnishlog_options.h
+5
-3
u00006.vtc
bin/varnishtest/tests/u00006.vtc
+1
-1
No files found.
bin/varnishlog/varnishlog_options.h
View file @
9853a629
...
...
@@ -32,22 +32,24 @@
#include "vapi/vapi_options.h"
#include "vut_options.h"
#define LOG_NOTICE_w " This option has no effect without the -w option."
#define LOG_OPT_a \
VOPT("a", "[-a]", "Append to file", \
"When writing output to a file with the -w option, append" \
" to it rather than overwrite it."
\
" to it rather than overwrite it."
LOG_NOTICE_w
\
)
#define LOG_OPT_A \
VOPT("A", "[-A]", "Text output", \
"When writing output to a file with the -w option, output" \
" data in ascii format."
\
" data in ascii format."
LOG_NOTICE_w
\
)
#define LOG_OPT_u \
VOPT("u", "[-u]", "Unbuffered output", \
"When writing output to a file with the -w option, output" \
" data is not buffered."
\
" data is not buffered."
LOG_NOTICE_w
\
)
#define LOG_OPT_w \
...
...
bin/varnishtest/tests/u00006.vtc
View file @
9853a629
...
...
@@ -9,7 +9,7 @@ varnish v1 -vcl+backend {} -start
# We use this to make sure we know there is a "0 CLI" in the binary log.
process p1 {
exec varnishlog -n ${v1_name} -g raw -u -A
exec varnishlog -n ${v1_name} -g raw -u -A
-w -
} -start
shell {
...
...
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