I read the Rails doc about Tagged logger, it seems great , but I am missing 
some stuff :

- where should I define the Logger class :
        Logger = ActiveSupport::TaggedLogging.new( File.join(Rails.root, 
"log", "new_logger_#{Rails.env}.log)

- is it possible to define multiple Logger classes to output into different 
log files ?
        LoggerA = ActiveSupport::TaggedLogging.new( File.join(Rails.root, 
"log", "new_logger_A_#{Rails.env}.log)
        LoggerB = ActiveSupport::TaggedLogging.new( File.join(Rails.root, 
"log", "new_logger_B_#{Rails.env}.log)

thanks for feedback

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/k3TnEuYrBdwJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to