#RubyOnRails - 11 August 2018
« Back 1 day Forward 1 day »
[13:34:49] mwlang: How do I turn off logging ActiveJob in Rails 5? The method used in Rails 4 and everything I can google says “ActiveJob::Base.logger = Logger.new(nil)” but this is not doing the trick any more
[13:36:21] mwlang: It may be that resque is injecting the info into the log since I’m seeing… “Performing BroadcastOrderBookJob (Job ID: 168a169c-11f1-4ee6-9af7-fa13ffcf907d) from Resque(default) with arguments:” rather than ActiveJob proper?
[13:45:07] mwlang: nevermind, it turns out that placing the code in an initializer file was the trick vs. placing it in application.rb or in the environments/*.rb files.
[19:31:15] squadguy: I'm kind of struggling getting a development lab environment setup for rails...