On 8/23/05, Oliver Bock <oliver@...> wrote:
> Both of these techniques will fix the first problem, but there is still
> some interleaving in the log file because ThreadedAppServer prints log
> lines in multiple parts. e.g. it will print the line
> 640 0.00 secs /v003/?_s=3Dairservices&_id=3Dcheck_working.r=
> using two different print statements. Because two print statements are
> used, sys.stdout.write() is called twice, which leaves opportunity for
> another thread to add something to the log file in between. It would be
> nice if WebKit saved up its information until it had an entire line
> ready to print. Unfortunately I haven't yet bitten the bullet and moved
> from 0.81 so I don't want to fiddle with that code.
I fixed this is in my workspace and checked in just now, so this will
make the next 0.9 beta release.
Btw I'm using 0.9 in all my projects now.
Thanks for the feedback,