Show/Hide Toolbars

The XML layout writes logging events in a fixed format. This layout is implemented without more configuration for TeamConnect. Therefore, it does not generate a completely well-formed XML file. It is designed to be included as an external entity in a separate file to form a correct XML file. This allows you to determine how the logging events should be displayed in the log.

The XML layout can be useful for creating output that can be parsed by other software to create a report of specific information. For example, to create an audit report containing a summary of methods accessed by users, you can more easily parse XML than pattern text or HTML.

The following is an example output of a logging event in XML layout:

<log4j:event logger="syslog.basic.sql" timestamp="1063916251658" level="DEBUG" thread="ExecuteThread: '10' for queue: 'default'">

<log4j:message><![CDATA[ServerSession(4688271)--client acquired

]]></log4j:message>

</log4j:event>

To utilize the XML layout, you need to create the necessary files to use the XML output as content that is pulled in and formatted correctly.