Remove a log which caused an exception.