Comment #5 on issue 1212 by pekka.klarck: Errors happening in Python's
`logging` module should not fail a test case
http://code.google.com/p/robotframework/issues/detail?id=1212
Nowadays if there is an error caused by invalid logging, Robot will act
like this:
1) Catch the exception.
2) Log a message telling that logging the message failed. This is done
using the same log level as the original message. Users who would be
interested in the original message thus will the logged message.
3) Log the traceback of the exception using debug level. This allows
investigating the logging problem, and possibly fixing it, if needed.