Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

Timber installation silences Rails test log #196

Open
eostrom opened this issue Oct 16, 2018 · 0 comments
Open

Timber installation silences Rails test log #196

eostrom opened this issue Oct 16, 2018 · 0 comments

Comments

@eostrom
Copy link

eostrom commented Oct 16, 2018

By default, Rails in the test environment logs to log/test.log. When I ran bundle exec timber install, it installed a Timber logger that logs to nil. This was confusing the next time I tried to figure out why a test was failing – where did my log go?

In my opinion you should take the same approach in test.rb that you do in development.rb, and emulate standard Rails behavior by logging to log/test.log.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant