Put libcommhistory traces behind a macro