summaryrefslogtreecommitdiff
path: root/plugins/http/plugin.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-11-30 14:50:35 +0300
committerGitHub <[email protected]>2020-11-30 14:50:35 +0300
commit0a5116e9dcce76c8f845f4fdda41d448f3e38955 (patch)
tree0c81d9d509edc40c2988e038a5412ca3409e29ee /plugins/http/plugin.go
parenta7f1952bc80f28985dde7da6446342a774464e24 (diff)
parentd6e7b554ab56ee1f423ce915cc9dbb132457d689 (diff)
Merge pull request #420 from spiral/plugin/static
[RR2] Plugin for serving static files [Static]
Diffstat (limited to 'plugins/http/plugin.go')
-rw-r--r--plugins/http/plugin.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/http/plugin.go b/plugins/http/plugin.go
index 19765afc..8e8957bd 100644
--- a/plugins/http/plugin.go
+++ b/plugins/http/plugin.go
@@ -118,11 +118,11 @@ func (s *Plugin) Init(cfg config.Configurer, log log.Logger, server factory.Serv
func (s *Plugin) logCallback(event interface{}) {
switch ev := event.(type) {
case ResponseEvent:
- s.log.Info("response received", "elapsed", ev.Elapsed().String(), "remote address", ev.Request.RemoteAddr)
+ s.log.Debug("http handler response received", "elapsed", ev.Elapsed().String(), "remote address", ev.Request.RemoteAddr)
case ErrorEvent:
s.log.Error("error event received", "elapsed", ev.Elapsed().String(), "error", ev.Error)
case roadrunner.WorkerEvent:
- s.log.Info("worker event received", "event", ev.Event, "worker state", ev.Worker.State())
+ s.log.Debug("worker event received", "event", ev.Event, "worker state", ev.Worker.State())
default:
fmt.Println(event)
}