Displaying 2 results from an estimated 2 matches for "log_initializer".
Did you mean:
load_initializer
2006 Jul 12
2
Initializing log4r once
I have a problem init''ing log4r. I have the following initialization
code for log4r:
Configurator[''logpath''] = ''./config'' # was ''./logs''
Configurator.load_xml_file(''config/log4r_config.xml'')
I put it in appliction.rb, but then ofcourse at every request the logger
system will be reinitialized. This causes the
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