diff options
author | Lachlan Sylvester <lachlan.sylvester@publicisfrontfoot.com.au> | 2015-08-07 18:58:22 +1000 |
---|---|---|
committer | Lachlan Sylvester <lachlan.sylvester@publicisfrontfoot.com.au> | 2015-08-10 11:31:17 +1000 |
commit | 84e7d76e37bbefc2ddf2f4a132aefac2b6c2a33f (patch) | |
tree | c533b78f51ba408b88635ff7f6cf2e0c3e73b404 /lib/action_cable/process | |
parent | edbef56c1fb3607315647c6115ec07d1e4e86ca0 (diff) | |
download | rails-84e7d76e37bbefc2ddf2f4a132aefac2b6c2a33f.tar.gz rails-84e7d76e37bbefc2ddf2f4a132aefac2b6c2a33f.tar.bz2 rails-84e7d76e37bbefc2ddf2f4a132aefac2b6c2a33f.zip |
log to stdout in development mode.
Diffstat (limited to 'lib/action_cable/process')
-rw-r--r-- | lib/action_cable/process/logging.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/action_cable/process/logging.rb b/lib/action_cable/process/logging.rb index bcceff4bec..827a58fdb8 100644 --- a/lib/action_cable/process/logging.rb +++ b/lib/action_cable/process/logging.rb @@ -4,3 +4,5 @@ EM.error_handler do |e| end Celluloid.logger = ActionCable.server.logger + +ActionCable.server.config.log_to_stdout if Rails.env.development?
\ No newline at end of file |