diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2019-06-29 20:51:28 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2019-06-29 20:56:46 +1000 |
commit | 235a47bb80c692c23ef45c3a597af6580ed797fb (patch) | |
tree | 09c22201419eb07d37aedf825714da6f8ed1f8b8 /pkg | |
parent | c107eed8902ac5dbdae66988fc0e2d464be62749 (diff) |
Revert "emergency situation: we're not logging to rollrus while we're past the request quota"
This reverts commit c107eed8902ac5dbdae66988fc0e2d464be62749.
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/app/app.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/pkg/app/app.go b/pkg/app/app.go index 6d5ef8e58..fc75a6608 100644 --- a/pkg/app/app.go +++ b/pkg/app/app.go @@ -19,9 +19,6 @@ import ( "github.com/sirupsen/logrus" ) -// we hit the limit: putting this here for now -const HaveNotHitRollbarLimit = false - // App struct type App struct { closers []io.Closer @@ -83,7 +80,7 @@ func newLogger(config config.AppConfigurer) *logrus.Entry { // https://github.com/aybabtme/humanlog log.Formatter = &logrus.JSONFormatter{} - if HaveNotHitRollbarLimit && config.GetUserConfig().GetString("reporting") == "on" { + if config.GetUserConfig().GetString("reporting") == "on" { // this isn't really a secret token: it only has permission to push new rollbar items hook := rollrus.NewHook("23432119147a4367abf7c0de2aa99a2d", environment) log.Hooks.Add(hook) |