simplify logging in parse_config