summaryrefslogtreecommitdiffstats
path: root/pkg/app
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2018-12-07 18:52:31 +1100
committerJesse Duffield <jessedduffield@gmail.com>2018-12-08 11:51:47 +1100
commitff856b763033a241370bfde98d7386b43b7d0893 (patch)
tree9818a3b50f815051a309882e6c48c482bfd7ef3a /pkg/app
parentca3afa2a3905365ec79624e0c9b08865e9ab27ae (diff)
fetching branches without checking out
Diffstat (limited to 'pkg/app')
-rw-r--r--pkg/app/app.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/app/app.go b/pkg/app/app.go
index b43f9568c..74152b08b 100644
--- a/pkg/app/app.go
+++ b/pkg/app/app.go
@@ -52,6 +52,9 @@ func newLogger(config config.AppConfigurer) *logrus.Entry {
} else {
log = newProductionLogger(config)
}
+
+ // highly recommended: tail -f development.log | humanlog
+ // https://github.com/aybabtme/humanlog
log.Formatter = &logrus.JSONFormatter{}
if config.GetUserConfig().GetString("reporting") == "on" {