Fix logging conversion from xml.