#98 ✓hold
Art Hongchintakul

Logger doesn't flush when it's written to

Reported by Art Hongchintakul | May 27th, 2010 @ 03:06 PM

Rack::CommonLogger writes to the log file, but the buffer does not get flushed every time it is written to. It will wait until a certain amount of logs fill the buffer then it automatically flushes.

What I would expect from a logger is that it flushes every time it is written to, so that when I am troubleshooting by tailing the log, I see the log as it happens.

Comments and changes to this ticket

  • raggi

    raggi May 3rd, 2011 @ 07:35 AM

    • State changed from “new” to “hold”
    • Milestone order changed from “0” to “0”

    This would be less efficient. I'd accept a patch that makes it an option though.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Pages