added logging to xmax.common library