Throw an exception if the log isn't created