<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>107663</bug_id>
          
          <creation_ts>2005-09-29 19:16 0000</creation_ts>
          <short_desc>dev-ruby/rails-0.13.1 - development.log recording blank lines after upgrade</short_desc>
          <delta_ts>2005-10-20 06:11:07 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Server</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>saltman@securenym.net</reporter>
          <assigned_to>ruby@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>saltman@securenym.net</who>
            <bug_when>2005-09-29 19:16:57 0000</bug_when>
            <thetext>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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dbutler@yup.com</who>
            <bug_when>2005-10-07 13:32:24 0000</bug_when>
            <thetext>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 &quot;Y&quot; to upgrade all the rails-related packages.

 
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>brandon@cs.uri.edu</who>
            <bug_when>2005-10-11 11:02:53 0000</bug_when>
            <thetext>I also experienced this problem. The solution given by Daniel fixed it for me too.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>check@radicalmedia.com</who>
            <bug_when>2005-10-19 15:24:18 0000</bug_when>
            <thetext>Created an attachment (id=71046)
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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>check@radicalmedia.com</who>
            <bug_when>2005-10-19 15:26:57 0000</bug_when>
            <thetext>sorry -- that&apos;s a patch against dev-ruby/activesupport-1.1.1, as that&apos;s where
the problem lies.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>caleb@gentoo.org</who>
            <bug_when>2005-10-20 06:11:07 0000</bug_when>
            <thetext>should be fixed in 1.1.1-r2 </thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>71046</attachid>
            <date>2005-10-19 15:24 0000</date>
            <desc>Patch to add log lines</desc>
            <filename>clean_logger-format_message-fix.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGFjdGl2ZXN1cHBvcnQtMS4xLjEvbGliL2FjdGl2ZV9zdXBwb3J0L2NsZWFuX2xvZ2dlci5y
Yi5vcmlnCTIwMDUtMTAtMTkgMTg6MTg6MDkuMDAwMDAwMDAwIC0wNDAwCisrKyBhY3RpdmVzdXBw
b3J0LTEuMS4xL2xpYi9hY3RpdmVfc3VwcG9ydC9jbGVhbl9sb2dnZXIucmIJMjAwNS0xMC0xOSAx
ODowNzowMC4wMDAwMDAwMDAgLTA0MDAKQEAgLTEwLDkgKzEwLDExIEBACiAgIGVuZAogCiAgIHBy
aXZhdGUKLSAgICByZW1vdmVfY29uc3QgIkZvcm1hdCIKKyAgICBpZiBjb25zdF9kZWZpbmVkPyg6
Rm9ybWF0KSAjIE5vdCBkZWZpbmVkIGluIFJ1YnkgMS44LjMKKyAgICAgIHJlbW92ZV9jb25zdCAi
Rm9ybWF0IgorICAgIGVuZAogICAgIEZvcm1hdCA9ICIlc1xuIgotICAgIGRlZiBmb3JtYXRfbWVz
c2FnZShzZXZlcml0eSwgdGltZXN0YW1wLCBtc2csIHByb2duYW1lKQorICAgIGRlZiBmb3JtYXRf
bWVzc2FnZShzZXZlcml0eSwgdGltZXN0YW1wLCBwcm9nbmFtZSwgbXNnKQogICAgICAgRm9ybWF0
ICUgW21zZ10KICAgICBlbmQKIGVuZAo=
</data>        

          </attachment>
    </bug>

</bugzilla>