log: Attempt to be friendly to Python 2.6

This may break something or be a bad idea.
boot: Don't rely on BaseException.message

BaseException.message was actually only really short-lived as
a Python feature and has been deprecated since 2.6.  This
switches to using the first item of BaseException.args, which
is hopefully as correct as the ugly hack we're using it for
can be.