Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

3.0: Log entries are encoded in base64 (AWDwR3, section 8.4)

#3400

http://intertwingly.net/projects/AWDwR3/checkdepot.html#section-8.4

Description: this part of the scenario encourages people to call the logger, and shows them where they can find the information logged... in this case, in logs/development.log. In the process, I discovered that other log entries appear to be base64 encoded.

Inexplicably, the problem appears to be reproducible with Ruby 1.8.7, but not with Ruby 1.9.2.

http://intertwingly.net/projects/AWDwR3/checkdepot-rvm-1.9.2.html#s...

Reported by Sam Ruby · October 21st, 2009 @ 04:56 PM

State: resolved
Milestone: 3.0.2
Assigned to: José Valim José Valim
Importance: Medium

Activity

  1. Sam Ruby
  2. Sam Ruby
    Sam Ruby
    • Assigned user set to Yehuda Katz (wycats)

    October 30th, 2009 @ 10:25 AM

  3. Sam Ruby
    Sam Ruby
    • Assigned user changed from Yehuda Katz (wycats) to Jeremy Kemper

    The following commit made the base64 encoded data return once again:

    http://github.com/rails/rails/commit/fca32eb6c5b41e4f19a25b7b246c4a...

    November 11th, 2009 @ 02:44 PM

  4. José Valim
    José Valim
    • Assigned user changed from Jeremy Kemper to José Valim

    Seems to be related with ActiveSupport::Notifications.

    January 8th, 2010 @ 01:58 PM

  5. Sam Ruby
    Sam Ruby
    • Milestone cleared.

    Just noting that I have seen this as recently as Thu, 14 Jan 2010 23:18:05 GMT

    http://intertwingly.net/projects/AWDwR3/checkdepot-188.html#section...

    January 15th, 2010 @ 12:37 AM

  6. Sam Ruby
    Sam Ruby
    • State changed from new to open

    The real questions behind this are:

    Why didn't 'SQL (0.4ms) UPDATE "sessions" SET "data" =' lines appear in 2.3.x? Why do they inconsistently appear in 3.0pre?

    And, quite likely more importantly: why don't log entries always show up in the logs?

    January 20th, 2010 @ 05:52 PM

  7. José Valim
    José Valim

    Sam, can we close this one?

    February 3rd, 2010 @ 10:04 AM

  8. Sam Ruby
    Sam Ruby
    • State changed from open to resolved

    Have not seen an issue since logging became synchronous again.

    February 3rd, 2010 @ 12:51 PM

  9. Jeremy Kemper
    Jeremy Kemper
    • Milestone set to 3.0.2
    • Importance changed from to Medium

    October 15th, 2010 @ 11:01 PM