fixed logger format
format the xml output better