summaryrefslogtreecommitdiff
path: root/cmd/util
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/util')
-rw-r--r--cmd/util/debug.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/util/debug.go b/cmd/util/debug.go
index 54ef104f..01082112 100644
--- a/cmd/util/debug.go
+++ b/cmd/util/debug.go
@@ -71,7 +71,7 @@ func LogEvent(logger *logrus.Logger, event int, ctx interface{}) bool {
case watcher.EventMaxMemory:
w := ctx.(roadrunner.WorkerError)
- logger.Warning(Sprintf(
+ logger.Error(Sprintf(
"<white+hb>worker.%v</reset> <red>%s</reset>",
*w.Worker.Pid,
w.Caused,