summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-07-26 11:13:32 +0300
committerGitHub <[email protected]>2018-07-26 11:13:32 +0300
commit0f8e2bab6888f1b27ed2bd1b91ac6b2677f03450 (patch)
treec395da6d235730f972ddc44dc60690cb9aea5871 /cmd
parent3a11326b8fdd5135966120d30e8db9c0dfd5d3d4 (diff)
Update main.go
Diffstat (limited to 'cmd')
-rw-r--r--cmd/rr/main.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/rr/main.go b/cmd/rr/main.go
index 4d66177a..2a16b195 100644
--- a/cmd/rr/main.go
+++ b/cmd/rr/main.go
@@ -23,6 +23,8 @@
package main
import (
+ "github.com/sirupsen/logrus"
+
rr "github.com/spiral/roadrunner/cmd/rr/cmd"
// services (plugins)
@@ -40,5 +42,6 @@ func main() {
rr.Container.Register(static.ID, &static.Service{})
// you can register additional commands using cmd.CLI
+ rr.Logger.Formatter = &logrus.TextFormatter{ForceColors: true}
rr.Execute()
}