Bug 107663 - dev-ruby/rails-0.13.1 - development.log recording blank lines after upgrade
Bug#: 107663 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: ruby@gentoo.org Reported By: saltman@securenym.net
Component: Server
URL: 
Summary: dev-ruby/rails-0.13.1 - development.log recording blank lines after upgrade
Keywords:  
Status Whiteboard: 
Opened: 2005-09-29 19:16 0000
Description:   Opened: 2005-09-29 19:16 0000
I just upgraded to Ruby 1.8.3 and activesupport-1.1.1-r1. My application runs
fine except that the development.log file is now just recording blank lines. I
created a new empty rails application with the rails command and saw the same
thing happening in the development.log file in the new application.

Reproducible: Always
Steps to Reproduce:
1.Upgrade to latest Ruby and Rails packages
2.Create a new rails application, delete index.html, and start webrick
3.Hit any page in the new empty application
4.Observe blank lines being appended to log/development.log

Actual Results:  
Blank lines are recorded in development.log.

Expected Results:  
Normal log file content.

dev-lang/ruby-1.8.3
dev-ruby/activesupport-1.1.1-r1
dev-ruby/ruby-fcgi-0.8.5-r1
dev-ruby/sqlite-ruby-2.2.2
dev-ruby/activerecord-1.11.1
dev-ruby/rubygems-0.8.10
dev-ruby/rake-0.5.3
dev-ruby/actionpack-1.9.1
dev-ruby/ruby-config-0.3.1
dev-ruby/actionmailer-1.0.1
dev-ruby/actionwebservice-0.8.1
dev-ruby/rails-0.13.1
dev-ruby/mysql-ruby-2.5

------- Comment #1 From Daniel Butler 2005-10-07 13:32:24 0000 -------
I had the same problem once I upgraded to Ruby 1.8.3. It also affected the
test.log file.

I issued the following command and it fixed the problem:

# gem update --source http://gems.rubyonrails.com

Answer "Y" to upgrade all the rails-related packages.

 

------- Comment #2 From Brandon Edens 2005-10-11 11:02:53 0000 -------
I also experienced this problem. The solution given by Daniel fixed it for me
too.

------- Comment #3 From Dan Check 2005-10-19 15:24:18 0000 -------
Created an attachment (id=71046) [details]
Patch to add log lines

Attached is a patch that corrects the misordering of arguments on the
format_message method.	It also encorporates/obsoletes the prior 1.1.1-r1
patch.

More here: http://dev.rubyonrails.com/ticket/2263

------- Comment #4 From Dan Check 2005-10-19 15:26:57 0000 -------
sorry -- that's a patch against dev-ruby/activesupport-1.1.1, as that's where
the problem lies.

------- Comment #5 From Caleb Tennis 2005-10-20 06:11:07 0000 -------
should be fixed in 1.1.1-r2