changed logger for main XMAX class