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.

Changeset [1466f312bad35809fa9fe343068d2fc8a814ffe6] by Curtis Cablegram

Revision 1466f312bad35809fa9fe343068d2fc8a814ffe6, committed by Curtis Cablegram · August 3rd, 2010 @ 09:50 AM

Change log-tailer to properly track multi-byte characters.

When end-of-line is represented within a file as "\r\n",
it is represented in memory as a single "\n". This patch eliminates
the discrepancy between size on disk and size in memory.

Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/1466f312bad35809fa9fe343068d2f...

1 changed file

  • M railties/lib/rails/rack/log_tailer.rb