Skip to content
This repository has been archived by the owner on May 25, 2018. It is now read-only.

How to enable logging #94

Open
VitalyKolchenko opened this issue Jan 24, 2017 · 2 comments
Open

How to enable logging #94

VitalyKolchenko opened this issue Jan 24, 2017 · 2 comments

Comments

@VitalyKolchenko
Copy link

Sorry for stupid question (I'm not ruby developer) but how to enable faye logging ?

Trying

config.middleware.use FayeRails::Middleware, mount: '/faye', :timeout => 25 do
  FayeRails.logger = Logger.new(STDOUT)
end

but does not work

@profeg
Copy link

profeg commented Feb 10, 2017

try Faye.logger = Rails.logger

@kostyakch
Copy link

Faye.logger = ActiveSupport::Logger.new(Rails.root.join('log', 'faye.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

3 participants