update ifdef on logging.