added logging to main xmax lib