diff options
Diffstat (limited to 'http/service.go')
-rw-r--r-- | http/service.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/http/service.go b/http/service.go index f8e05f4d..5d45240b 100644 --- a/http/service.go +++ b/http/service.go @@ -50,18 +50,13 @@ func (s *Service) Serve() error { } defer term() + //todo: remove rr.Observe(func(event int, ctx interface{}) { switch event { case roadrunner.EventPoolError: logrus.Error(ctx) - case roadrunner.EventWorkerCreate: - logrus.Infof("%s - created", ctx) case roadrunner.EventWorkerError: logrus.Errorf("%s: %s", ctx.(roadrunner.WorkerError).Worker, ctx.(roadrunner.WorkerError).Error()) - case roadrunner.EventWorkerDestruct: - logrus.Warnf("%s - destructed", ctx) - case roadrunner.EventWorkerKill: - logrus.Warnf("%s - killed", ctx) } }) |