Forum: Ruby on Rails logging from rhtml

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
C75c0ea69a57d3e8c48956004f27a604?d=identicon&s=25 GeekEntrepreneu (Guest)
on 2005-12-20 19:43
(Received via mailing list)
How can I write to log file from my rhtml.
Ce60c4f78a63b0695e4dafc4bd7964f7?d=identicon&s=25 Lou Vanek (Guest)
on 2005-12-20 21:09
(Received via mailing list)
here's one way,

  <% logger.info 'my message' %>
This topic is locked and can not be replied to.