> Open a console in production mode and
>>> RAILS_DEFAULT_LOGGER.info("what the hey")
> => "2010-12-03-18:00:00  INFO  what the hey\n"
>>>
>
> and then check the log file(s). Does that show up anywhere?

I try it and still the production.log is empty:

[r...@proxima MARKT]# script/console production
Loading production environment (Rails 2.3.8)
>> RAILS_DEFAULT_LOGGER.info("what the hey")
=> "what the hey\n"
>> exit
[r...@proxima MARKT]# ls
app  config  db  doc  IDENTIFIED  lib  log  public  Rakefile  README 
script  test  tmp  vendor
[r...@proxima MARKT]# cd log
[r...@proxima log]# ls
development.log  production.log  server.log  test.log
[r...@proxima log]# nano production.log

-- 
Posted via http://www.ruby-forum.com/.

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to