summaryrefslogtreecommitdiff
path: root/plugins/http/plugin.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-11-30 14:11:22 +0300
committerValery Piashchynski <[email protected]>2020-11-30 14:11:22 +0300
commitddac6f8fcd8bf740981d2f78d573b46bb61acf56 (patch)
tree19e738ae894015c9e50e008a5601669c78d426b4 /plugins/http/plugin.go
parent9402ea1e88d6e63b8b0388ad662d20b727b940d0 (diff)
Finish plugin for 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)
}