make xmllog reusable for rop gadged output
removed unused logfile
new parameter for XML logging