Fix log option