Probably not the problem, but did you try running

rake rails:update:application_controller

Peter


On Wed, Jun 3, 2009 at 7:34 AM, Bradly <[email protected]> wrote:
> I'd move the logger line inside the class and see if that helps. I'm not
> sure the internals of logging in Rails, but I would guess
> ApplicationController would inherit the logger from ActionController::Base.
>
> Also, this may or may not be your issue, but if you are looking at
> production logs, you won't see logger.debug messages. If it isn't showing up
> in your development logs, I would take a look at your development
> environment file and make sure you aren't setting config.log_level to
> something other than debug.
>
> -Brad
>
>
> On Wed, Jun 3, 2009 at 1:55 AM, Guyren G Howe <[email protected]> wrote:
>>
>> None of the controllers in my 2.3.2 app are seeing my
>> ApplicationController. It looks like this:
>>
>> logger.debug '********** ApplicationController!!!'
>> class ApplicationController < ActionController::Base
>>   include ExceptionNotifiable
>>   include SuperEasy
>>
>>   helper :all # include all helpers, all the time
>>   protect_from_forgery # See
>> ActionController::RequestForgeryProtection for details
>>
>>   # Scrub sensitive parameters from your log
>>   filter_parameter_logging :password
>>
>>   layout 'main'
>> end
>>
>> It's named app/controllers/application_controller.
>>
>> But the debug statement never appears in the log.
>>
>> Something to do with the lazy loading, I expect, and I've a lot of
>> code copied from a 2.2 app, some of which I've been moving into
>> engines, just to make this more fun.
>>
>> Any thoughts?
>>
>>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby
-~----------~----~----~----~------~----~------~--~---

Reply via email to