I think we should use `debug` for the logging here