Hi fellows! I want to use the Rails.logger in my gem. I try the following code in my main gem-file.
require 'rails/logger' puts "init1" ::Rails.logger.info("hi") puts "init2" The funny thing is: It even don't give me the output of puts in the stdout of the server! But if I remove the call to Rails.logger the puts are displayed in the stdout of the server again. But in both cases nothing is written in the development.log Greetings from Germany, Klaus -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.