diff options
author | eileencodes <eileencodes@gmail.com> | 2015-12-17 15:22:18 -0500 |
---|---|---|
committer | eileencodes <eileencodes@gmail.com> | 2015-12-17 15:30:40 -0500 |
commit | 19e7f65dd1857511cbfe358e24bd20d3965e7c5b (patch) | |
tree | 61687bf44e649b9c729986a56a07e0d664c28cbb /README.md | |
parent | af5b05a4c070de15b17fc9bbe9c485c7bb71830b (diff) | |
download | rails-19e7f65dd1857511cbfe358e24bd20d3965e7c5b.tar.gz rails-19e7f65dd1857511cbfe358e24bd20d3965e7c5b.tar.bz2 rails-19e7f65dd1857511cbfe358e24bd20d3965e7c5b.zip |
Don't log Action Cable to STDOUT in development
Logging Action Cable to STDOUT caused the development log to see double
messages like this:
```
Started GET "/" for ::1 at 2015-12-17 15:21:34 -0500
Started GET "/" for ::1 at 2015-12-17 15:21:34 -0500
Processing by Rails::WelcomeController#index as HTML
Processing by Rails::WelcomeController#index as HTML
Rendered /welcome/index.html.erb (0.0ms)
Rendered /welcome/index.html.erb (0.0ms)
Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.0ms)
Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.0ms)
```
Now that Action Cable is part of Rails it doesn't need it's own logger
and will log to STDOUT via the local dev server here:
https://github.com/rails/rails/blob/master/railties/lib/rails/commands/server.rb
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions