diff options
author | Wolfy-J <[email protected]> | 2018-06-30 13:51:31 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-30 13:51:31 +0300 |
commit | af9b527604714aca3a63671977ccaac982ccae1c (patch) | |
tree | 4b499500829c159e2111a7b500698ae63fe20b88 /cmd | |
parent | 4c112144459a6414b74127b72de372c4ac7b99ac (diff) |
- support logging for docker
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/rr/main.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/rr/main.go b/cmd/rr/main.go index 4ab2fbe2..03bef9bd 100644 --- a/cmd/rr/main.go +++ b/cmd/rr/main.go @@ -34,12 +34,15 @@ import ( "github.com/spiral/roadrunner/cmd/rr/debug" _ "github.com/spiral/roadrunner/cmd/rr/http" + "github.com/sirupsen/logrus" "github.com/spf13/cobra" ) var debugMode bool func main() { + // forcing text based logging + rr.Logger.Formatter = &logrus.TextFormatter{ForceColors: true} // provides ability to make local connection to services rr.Container.Register(rpc.ID, &rpc.Service{}) |