removing some unused logger methods and also adding default option into api_logger call