added logging to xmax.data library