Adding command to set and show log levels, and store the debug header as an xml file