On Wed, Jun 27, 2018 at 03:22:56PM +0100, Ian Jackson wrote: > Anthony PERARD writes ("[PATCH v3 04/31] libxl_json: fix build with > DEBUG_ANSWER"): > > Signed-off-by: Anthony PERARD <anthony.per...@citrix.com> > > Acked-by: Ian Jackson <ian.jack...@eu.citrix.com> > > Although, > > > yajl_gen_get_buf((yajl_ctx)->g, &buf, &len); \ > > - LIBXL__LOG(libxl__gc_owner((yajl_ctx)->gc), LIBXL__LOG_DEBUG, > > - "response:\n", buf); \ > > + LIBXL__LOG(libxl__gc_owner((yajl_ctx)->gc), XTL_DEBUG, \ > > + "response: %s\n", buf); \ > > I'm not sure why you changed LIBXL__LOG_DEBUG to XTL_DEBUG. It would
I'm not sure either. > be nice to mention it in the commit message. Personally I would > prefer it because (i) it's shorter (ii) we're not likely to want to > decouple the libxl log levels from the XTL ones (iii) if we do, in the > future, it will be an easy search-and-replace. Ok, I'll keep the change, and add to the commit message: Also replace LIBXL__LOG_DEBUG by XTL_DEBUG, because it's shorter and more often used in libxl. -- Anthony PERARD _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel