Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
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
unique-xids
Commits
21335dcd
Commit
21335dcd
authored
Oct 31, 2011
by
Poul-Henning Kamp
Committed by
Tollef Fog Heen
Feb 28, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't abbreviate panic message output.
parent
cbad9e18
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
vtc_log.c
bin/varnishtest/vtc_log.c
+4
-3
vtc_varnish.c
bin/varnishtest/vtc_varnish.c
+1
-1
No files found.
bin/varnishtest/vtc_log.c
View file @
21335dcd
...
...
@@ -169,7 +169,7 @@ vtc_log(struct vtclog *vl, int lvl, const char *fmt, ...)
void
vtc_dump
(
struct
vtclog
*
vl
,
int
lvl
,
const
char
*
pfx
,
const
char
*
str
,
int
len
)
{
int
nl
=
1
;
int
nl
=
1
,
olen
;
unsigned
l
;
double
tx
;
...
...
@@ -186,10 +186,11 @@ vtc_dump(struct vtclog *vl, int lvl, const char *pfx, const char *str, int len)
VSB_printf
(
vl
->
vsb
,
"%s %-4s %4.1f %s(null)
\n
"
,
lead
[
lvl
],
vl
->
id
,
tx
,
pfx
);
else
{
if
(
len
==
-
1
)
olen
=
len
;
if
(
len
<
0
)
len
=
strlen
(
str
);
for
(
l
=
0
;
l
<
len
;
l
++
,
str
++
)
{
if
(
l
>
512
)
{
if
(
l
>
512
&&
olen
!=
-
2
)
{
VSB_printf
(
vl
->
vsb
,
"..."
);
break
;
}
...
...
bin/varnishtest/vtc_varnish.c
View file @
21335dcd
...
...
@@ -319,7 +319,7 @@ varnish_thread(void *priv)
if
(
i
<=
0
)
break
;
buf
[
i
]
=
'\0'
;
vtc_dump
(
v
->
vl
,
3
,
"debug"
,
buf
,
-
1
);
vtc_dump
(
v
->
vl
,
3
,
"debug"
,
buf
,
-
2
);
}
return
(
NULL
);
}
...
...
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