add init_logging for httpc