I noticed that the NT Service version of WebKit wasn't logging exceptions
to the logfile specified, although it was logging other types of messages
properly. Turns out that WebKit/ExceptionHandler.py was grabbing
sys.stderr once right at the start and holding onto it, thereby bypassing
the reassigned sys.stderr. So I fixed it so that it gets sys.stderr each
time it is called, and exceptions are now properly logged.
And as an added bonus, Jeff, I think it should also cause your BitBucket
trick to work properly for exceptions, too. Try it out.
- Geoff Talvola