search for: fileoutputter

Displaying 3 results from an estimated 3 matches for "fileoutputter".

Did you mean: file_outputter
2006 May 21
0
Re: log4r and rails
...ery similar approach to using the built in logger. Install the log4r gem gem install log4r Then edit your environment.rb file to use the gem and setup the logger require "rubygems" require "log4r" #Setup Log4r Logging L4R = Log4r::Logger.new("RailsLogging") Log4r::FileOutputter.new(''logfile'', :filename=>"#{RAILS_ROOT}/log/log4r.log", :trunc=>false, :level=>Log4r::DEBUG) L4R.add(''logfile'') Once you have the logger defined you can then make lo...
2006 Apr 11
2
using log4r and rails
hey everyone. i know somebody else had started a thread on this subject, but since no one seems to be answering that thread i thought i would start one of my one. i''m doing a project for a client and we need some seriously verbose logging. it looks like log4r can do what i need, but i can''t for the life of me figure out how to plug it into rails. everywhere talks about how
2006 Apr 07
3
log4r and rails
Hey there folks. I would really like to use log4r as my default logger in Rails, but I''m having a hard time getting it to work. I''m not even sure I''m plugging it in in the right place. I''m using log4r 1.0.5 and rails 1.1.1. I would love it if someone could either point me to a good tutorial on how to use log4r with rails, or at least point me in the right