First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 107663
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Ruby Team <ruby@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Zed <saltman@securenym.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
clean_logger-format_message-fix.patch Patch to add log lines patch Dan Check 2005-10-19 15:24 0000 536 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 107663 depends on: Show dependency tree
Bug 107663 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


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) [edit]
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 

First Last Prev Next    No search results available      Search page      Enter new bug