Add logging intercept to test_Abort

Add a logging handler to the root logger that will throw an Exception
upon receiving a log message with an Error level or greater level.