Ah .. okay that was silly. The problem was the line to write to the
log was written after the line to render a view.
On May 12, 9:57 am, luke
<ldunca...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Hi,
>
> logger.info ''test'' does not print anything to my log
files when called
> from the controller. If I script/console and type the same line it
> does .. I''ve searched online but I can''t find anything
that can help
> me troubleshoot.
>
> I''ve also tried @test = logger.methods
>
> and then debugging @test in the view but I get a bank variable.
>
> Any suggestions welcome.
>
> Luke
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---