Logning is almost complete
TODO: Append a new node into an existing xml file