summaryrefslogtreecommitdiff
path: root/cmd/rr/debug
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/rr/debug')
-rw-r--r--cmd/rr/debug/listener.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/rr/debug/listener.go b/cmd/rr/debug/listener.go
index 393e2b2e..1b6fcf83 100644
--- a/cmd/rr/debug/listener.go
+++ b/cmd/rr/debug/listener.go
@@ -20,10 +20,10 @@ func (s *listener) Listener(event int, ctx interface{}) {
// http events
switch event {
case http.EventResponse:
- log := ctx.(*http.Log)
+ log := ctx.(*http.Event)
s.logger.Info(utils.Sprintf("%s <white+hb>%s</reset> %s", statusColor(log.Status), log.Method, log.Uri))
case http.EventError:
- log := ctx.(*http.Log)
+ log := ctx.(*http.Event)
if _, ok := log.Error.(roadrunner.JobError); ok {
s.logger.Info(utils.Sprintf("%s <white+hb>%s</reset> %s", statusColor(log.Status), log.Method, log.Uri))