diff options
Diffstat (limited to 'actioncable')
-rw-r--r-- | actioncable/lib/action_cable/process/logging.rb | 2 | ||||
-rw-r--r-- | actioncable/lib/action_cable/server/configuration.rb | 8 |
2 files changed, 0 insertions, 10 deletions
diff --git a/actioncable/lib/action_cable/process/logging.rb b/actioncable/lib/action_cable/process/logging.rb index 618ba7357a..72b1a080d1 100644 --- a/actioncable/lib/action_cable/process/logging.rb +++ b/actioncable/lib/action_cable/process/logging.rb @@ -8,5 +8,3 @@ 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 diff --git a/actioncable/lib/action_cable/server/configuration.rb b/actioncable/lib/action_cable/server/configuration.rb index 5d65f5e0e9..935133cbba 100644 --- a/actioncable/lib/action_cable/server/configuration.rb +++ b/actioncable/lib/action_cable/server/configuration.rb @@ -20,14 +20,6 @@ module ActionCable @disable_request_forgery_protection = false end - def log_to_stdout - console = ActiveSupport::Logger.new($stdout) - console.formatter = @logger.formatter - console.level = @logger.level - - @logger.extend(ActiveSupport::Logger.broadcast(console)) - end - def channel_paths @channels ||= Dir["#{channels_path}/**/*_channel.rb"] end |