added xml logging to Publisher