search for: clean_logger

Displaying 4 results from an estimated 4 matches for "clean_logger".

2006 Mar 30
1
Logger::Format not defined (NameError) [NOOB]
...oR on a clean and minimal Ubuntu (5.10) server. I have set up a test site and can reach the "Welcome on board" index page. However when I run "ruby script/generate contoller firsttest" I get the following error. ./script/../config/../vendor/activesupport/lib/active_support/clean_logger.rb:13:in `remove_const'': constant Logger::Format not defined (NameError) from ./script/../config/../vendor/activesupport/lib/active_support/clean_logger.rb:13 from ./script/../config/../vendor/activesupport/lib/active_support.rb:31 from ./script/../config/environ...
2005 Dec 16
2
Using logger from rails cron jobs
Hi. I''m trying to use logger from a rails cron job. It works fine, but I''d like the standard ruby behavior of stamping each log with date and time. How do I do this? I''m trying: # Set up out logging require ''logger'' logger = Logger.new(STDERR) logger.level = Logger::INFO RAILS_DEFAULT_LOGGER = logger # Tell rails to log to our logger also The
2008 Feb 27
0
Activesupport error on start - extract_options
...lly get the following error: rails/vendor/rails/activesupport/lib/active_support/core_ext/class/attribute_accesors.rb:24:in ''cattr_writer'': undefined method ''extract_options!'' for [:silencer]:Array (NoMethodError) .. vender/rails/activesupport/lib/active_support/clean_logger.rb:18 .. vender/rails/activesupport/lib/active_support.rb .. vender/rails/railties/lib/commands/server.rb .. script/server .. Can anyone point me in the right direction? This is a basic install of Ruby 1.8.6-p111, along with rubygem-1.0.1. Nothing else installed, no gems. I thought I''d...
2005 May 22
1
ActiveRecord: can not connect to mysql
...8: warning: method redefined; discarding old plural_rules /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.4/lib/active_support/core_ext/string/../../inflector.rb:76: warning: method redefined; discarding old singular_rules /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.4/lib/active_support/clean_logger.rb:7: warning: method redefined; discarding old format_message /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib/active_record/validations.rb:277: warning: `*'' interpreted as argument prefix /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib/active_record/validations.rb:305:...