Changed createLogFromClass method to return null on recoverable failure, and only throw an exception on unrecoverable failure. This simplifies the code a fair bit.