Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
k8s-ingress
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
3
Merge Requests
3
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
uplex-varnish
k8s-ingress
Commits
7767fa55
Commit
7767fa55
authored
Apr 29, 2020
by
Geoff Simmons
Committed by
Tim Leers
Jul 06, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Raise some debugging log levels from trace to debug.
parent
f91d2521
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
ingress.go
pkg/controller/ingress.go
+5
-5
No files found.
pkg/controller/ingress.go
View file @
7767fa55
...
...
@@ -103,7 +103,7 @@ func (worker *NamespaceWorker) getVarnishSvcForIng(
worker
.
log
.
Debugf
(
"Cluster Varnish Services for Ingress: %+v"
,
svcs
)
if
varnishSvc
,
exists
:=
ing
.
Annotations
[
varnishSvcKey
];
exists
{
worker
.
log
.
Trace
f
(
"Ingress %s/%s has annotation %s:%s"
,
worker
.
log
.
Debug
f
(
"Ingress %s/%s has annotation %s:%s"
,
ing
.
Namespace
,
ing
.
Name
,
varnishSvcKey
,
varnishSvc
)
targetNs
,
targetSvc
,
err
:=
cache
.
SplitMetaNamespaceKey
(
varnishSvc
)
...
...
@@ -118,14 +118,14 @@ func (worker *NamespaceWorker) getVarnishSvcForIng(
return
svc
,
nil
}
}
worker
.
log
.
Trace
f
(
"Ingress %s/%s: Varnish Service %s not found"
,
worker
.
log
.
Debug
f
(
"Ingress %s/%s: Varnish Service %s not found"
,
ing
.
Namespace
,
ing
.
Name
,
varnishSvc
)
return
nil
,
nil
}
worker
.
log
.
Trace
f
(
"Ingress %s/%s does not have annotation %s"
,
worker
.
log
.
Debug
f
(
"Ingress %s/%s does not have annotation %s"
,
ing
.
Namespace
,
ing
.
Name
,
varnishSvcKey
)
if
len
(
svcs
)
==
1
{
worker
.
log
.
Trace
f
(
"Exactly one Varnish Ingress Service "
+
worker
.
log
.
Debug
f
(
"Exactly one Varnish Ingress Service "
+
"cluster-wide: %s"
,
svcs
[
0
])
return
svcs
[
0
],
nil
}
...
...
@@ -149,7 +149,7 @@ func (worker *NamespaceWorker) getVarnishSvcForIng(
}
worker
.
log
.
Debugf
(
"Namespace Varnish Services for Ingress: %+v"
,
svcs
)
if
len
(
svcs
)
==
1
{
worker
.
log
.
Trace
f
(
"Exactly one Varnish Ingress Service "
+
worker
.
log
.
Debug
f
(
"Exactly one Varnish Ingress Service "
+
"in namespace %s: %s"
,
worker
.
namespace
,
svcs
[
0
])
return
svcs
[
0
],
nil
}
...
...
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