diff options
-rw-r--r-- | CHANGELOG.md | 4 | ||||
-rwxr-xr-x | build.sh | 2 | ||||
-rw-r--r-- | cmd/rr/main.go | 3 |
3 files changed, 8 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index dafdc0e5..57efd5a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ CHANGELOG ========= +v1.0.5 (30.06.2018) +------- +- docker compatible logging (forcing TTY output for logrus) + v1.0.4 (25.06.2018) ------- - changes in server shutdown sequence @@ -2,7 +2,7 @@ cd $(dirname "${BASH_SOURCE[0]}") OD="$(pwd)" # Pushes application version into the build information. -RR_VERSION=1.0.3 +RR_VERSION=1.0.5 # Hardcode some values to the core package LDFLAGS="$LDFLAGS -X github.com/spiral/roadrunner/cmd/rr/cmd.Version=${RR_VERSION}" 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{}) |