I'm using Rails 4.0 with Puma multi-thread server.
I had to enable "allow_concurrency = true" even in development environment because I used ActionController::Live implementing some long-pulling EventSource.
But once multi-thread enabled, Rails stop logging.. so Log file only have first page request, and have nothing after that. (STDOUT is the same)
I think either Rails.logger lost it's reference in different thread, or log file is locked by one thread and others just don't have access.
I googled it for few hours but could find any answer or similar question yet.
Just figured out the problem. It was because of 'quiet_assets' gem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With