Skip to content

Commit 3bad2cc

Browse files
Add route uid to debug logs for router
Assist in debugging ordering flakes
1 parent 617e2c2 commit 3bad2cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/router/controller/router_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ func (c *RouterController) Commit() {
234234

235235
// processRoute logs and propagates a route event to the plugin
236236
func (c *RouterController) processRoute(eventType watch.EventType, route *routeapi.Route) {
237-
glog.V(4).Infof("Processing Route: %s/%s -> %s", route.Namespace, route.Name, route.Spec.To.Name)
237+
glog.V(4).Infof("Processing route: %s/%s -> %s %s", route.Namespace, route.Name, route.Spec.To.Name, route.UID)
238238
glog.V(4).Infof(" Alias: %s", route.Spec.Host)
239239
if len(route.Spec.Path) > 0 {
240240
glog.V(4).Infof(" Path: %s", route.Spec.Path)

0 commit comments

Comments
 (0)