Tweaks to the logging facility on Mac OS X