add Etag support and tracelevel for trace.xml