common/log: add _get_log_configs for testing options