<appender name="myDefault" class="FileAppender"> <param name="File" value="default.log"/> <param name="ImmediateFlush" value="true"/> <param name="Append" value="false"/> <layout> <param name="HeaderPattern" value="DEFAULTHEADER"/> <param name="ConversionPattern" value="DEFAULT"/> </layout> </appender>
Conversion Pattern1
|
|
---|---|
<CommonBaseEvent creationTime="%d{ISO8601ZONEDOT}"%n version="1.0.1"%n severity="%0.1severity{CBE}"%n sequenceNumber="%0.1sn"%n msg="%m"%n xmlns="http://www.ibm.com/AC/commonbaseevent1_0_1"%n xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">%n <contextDataElements name="ServerType" type="uuid">%n <contextValue>%S{TKIOM.BASE_CLSID}</contextValue>%n </contextDataElements>%n <contextDataElements name="ServerPort" type="number">%n <contextValue>%S{TKIOM.PORT}</contextValue>%n </contextDataElements>%n <contextDataElements name="ServerKnownBy" type="string">%n <contextValue>%S{TKIOM.KNOWN_BY}</contextValue>%n </contextDataElements>%n <contextDataElements name="UserId" type="string">%n <contextValue>%u</contextValue>%n </contextDataElements>%n <sourceComponentId%n component="%S{TKIOM.SERVER_COMPONENT_NAME|SAS} #%S{sup_ver_long2},%S{version}"%n subComponent="%c"%n componentIdType="ProductName"%n location="%S{hostname}"%n locationType="Hostname"%n processId="%S{pid}"%n threadId="%0.1t"%n application="%S{App.Name|SAS}"%n componentType="Logger"/>%n <situation categoryName="ReportSituation">%n <situationType xsi:type="ReportSituation"%n reasoningScope="INTERNAL"%n reportCategory="LOG"/>%n </situation>%n </CommonBaseEvent> |
|
<CommonBaseEvent creationTime="%d{ISO8601ZONEDOT}"%n version="1.0.1"%n severity="%0.1severity{CBE}"%n sequenceNumber="%0.1sn"%n msg="%m"%n xmlns="http://www.ibm.com/AC/commonbaseevent1_0_1"%n xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">%n <contextDataElements name="ServerType" type="uuid">%n <contextValue>%S{TKIOM.BASE_CLSID}</contextValue>%n </contextDataElements>%n <contextDataElements name="ServerPort" type="number">%n <contextValue>%S{TKIOM.PORT}</contextValue>%n </contextDataElements>%n <contextDataElements name="ServerKnownBy" type="string">%n <contextValue>%S{TKIOM.KNOWN_BY}</contextValue>%n </contextDataElements>%n <contextDataElements name="UserId" type="string">%n <contextValue>%u</contextValue>%n </contextDataElements>%n <contextDataElements name="ParentCorrelator" type="string">%n <contextValue>%X{ARM.ParentCorrelator}</contextValue>%n </contextDataElements>%n <contextDataElements name="CurrentCorrelator" type="string">%n <contextValue>%X{ARM.CurrentCorrelator}</contextValue>%n </contextDataElements>%n <sourceComponentId%n component="%S{TKIOM.SERVER_COMPONENT_NAME|SAS} #%S{sup_ver_long2},%S{version}"%n subComponent="%c"%n componentIdType="ProductName"%n location="%S{hostname}"%n locationType="Hostname"%n processId="%S{pid}"%n threadId="%0.1t"%n application="%S{App.Name|SAS}"%n componentType="Logger"/>%n <situation categoryName="ReportSituation">%n <situationType xsi:type="ReportSituation"%n reasoningScope="INTERNAL"%n reportCategory="LOG"/>%n </situation>%n </CommonBaseEvent> |
|
<cbe:CommonBaseEvent>%n <sourceComponentId%n component="%S{TKIOM.SERVER_COMPONENT_NAME|SAS} #%S{sup_ver_long2},%S{version}"%n subComponent="%c"%n componentIdType="Logger"%n location="%S{hostname}"%n locationType="Hostname"%n processId="%S{pid}"%n threadId="%0.1t"%n application="%S{App.Name|SAS}"/>%n <situationInformation%n creationTime="%d{ISO8601ZONEDOT}"%n severity="%0.1severity{CBE}"%n sequenceNumber="%0.1sn"%n msg="%m">%n <contextDataElements name="ServerType" type="clsid">%n <contextValue>%S{TKIOM.BASE_CLSID}</contextValue>%n </contextDataElements>%n <contextDataElements name="ServerPort" type="number">%n <contextValue>%S{TKIOM.PORT}</contextValue>%n </contextDataElements>%n <contextDataElements name="ServerKnownBy" type="string">%n <contextValue>%S{TKIOM.KNOWN_BY}</contextValue>%n </contextDataElements>%n <contextDataElements name="UserId" type="string">%n <contextValue>%u</contextValue>%n </contextDataElements>%n <situationType category="REPORT"%n successDisposition="SUCCESSFUL"%n situationQualifier="LOG"%n reasoningScope="INTERNAL"/>%n </situationInformation>%n </cbe:CommonBaseEvent> |
|
<cbe:CommonBaseEvent>%n <sourceComponentId%n component="%S{TKIOM.SERVER_COMPONENT_NAME|SAS} #%S{sup_ver_long2},%S{version}"%n subComponent="%c"%n componentIdType="Logger"%n location="%S{hostname}"%n locationType="Hostname"%n processId="%S{pid}"%n threadId="%0.1t"%n application="%S{App.Name|SAS}"/>%n <situationInformation%n creationTime="%d{ISO8601ZONEDOT}"%n severity="%0.1severity{CBE}"%n sequenceNumber="%0.1sn"%n msg="%m">%n <contextDataElements name="ServerType" type="clsid">%n <contextValue>%S{TKIOM.BASE_CLSID}</contextValue>%n </contextDataElements>%n <contextDataElements name="ServerPort" type="number">%n <contextValue>%S{TKIOM.PORT}</contextValue>%n </contextDataElements>%n <contextDataElements name="ServerKnownBy" type="string">%n <contextValue>%S{TKIOM.KNOWN_BY}</contextValue>%n </contextDataElements>%n <contextDataElements name="UserId" type="string">%n <contextValue>%u</contextValue>%n </contextDataElements>%n <contextDataElements name="ParentCorrelator" type="string">%n <contextValue>%X{ARM.ParentCorrelator}</contextValue>%n </contextDataElements>%n <contextDataElements name="CurrentCorrelator" type="string">%n <contextValue>%X{ARM.CurrentCorrelator}</contextValue>%n </contextDataElements>%n <situationType category="REPORT"%n successDisposition="SUCCESSFUL"%n situationQualifier="LOG"%n reasoningScope="INTERNAL"/>%n </situationInformation>%n </cbe:CommonBaseEvent> |
|
<muws1:ManagementEvent ReportTime="%d{ISO8601ZONEDOT}"%n xmlns:muws1="http://docs.oasis-open.org/wsdm/muws1-2.xsd"%n xmlns:muws2="http://docs.oasis-open.org/wsdm/muws2-2.xsd">%n <muws1:EventId>uuid:%uuid</muws1:EventId>%n <muws1:SourceComponent>%n <Host>%S{hostname}</Host>%n <Pid>%S{pid}</Pid>%n <Logger name="%c" level="%p"/>%n <Component name="%S{TKIOM.SERVER_COMPONENT_NAME|SAS} #%S{sup_ver_long2},%S{version}"/>%n </muws1:SourceComponent>%n <muws2:EventCorrelationProperties sequenceNumber="%0.1sn"/>%n <muws2:Situation>%n <muws2:SituationTime>%d{ISO8601ZONEDOT}</muws2:SituationTime>%n <muws2:SituationCategory>%n <muws2:LogReport><muws2:ReportSituation/></muws2:LogReport>%n </muws2:SituationCategory>%n <muws2:Severity>%0.1severity{WEF}</muws2:Severity>%n <muws2:Message>%m</muws2:Message>%n </muws2:Situation>%n <contextDataElements name="ServerType" type="clsid">%n <contextValue>%S{TKIOM.BASE_CLSID}</contextValue>%n </contextDataElements>%n <contextDataElements name="ServerPort" type="number">%n <contextValue>%S{TKIOM.PORT}</contextValue>%n </contextDataElements>%n <contextDataElements name="ServerKnownBy" type="string">%n <contextValue>%S{TKIOM.KNOWN_BY}</contextValue>%n </contextDataElements>%n <contextDataElements name="UserId" type="string">%n <contextValue>%u</contextValue>%n </contextDataElements>%n </muws1:ManagementEvent> |
|
<muws1:ManagementEvent ReportTime="%d{ISO8601ZONEDOT}"%n xmlns:muws1="http://docs.oasis-open.org/wsdm/muws1-2.xsd"%n xmlns:muws2="http://docs.oasis-open.org/wsdm/muws2-2.xsd">%n <muws1:EventId>uuid:%uuid</muws1:EventId>%n <muws1:SourceComponent>%n <Host>%S{hostname}</Host>%n <Pid>%S{pid}</Pid>%n <Logger name="%c" level="%p"/>%n <Component name="%S{TKIOM.SERVER_COMPONENT_NAME|SAS} #%S{sup_ver_long2},%S{version}"/>%n </muws1:SourceComponent>%n <muws2:EventCorrelationProperties sequenceNumber="%0.1sn"/>%n <muws2:Situation>%n <muws2:SituationTime>%d{ISO8601ZONEDOT}</muws2:SituationTime>%n <muws2:SituationCategory>%n <muws2:LogReport><muws2:ReportSituation/></muws2:LogReport>%n </muws2:SituationCategory>%n <muws2:Severity>%0.1severity{WEF}</muws2:Severity>%n <muws2:Message>%m</muws2:Message>%n </muws2:Situation>%n <contextDataElements name="ServerType" type="clsid">%n <contextValue>%S{TKIOM.BASE_CLSID}</contextValue>%n </contextDataElements>%n <contextDataElements name="ServerPort" type="number">%n <contextValue>%S{TKIOM.PORT}</contextValue>%n </contextDataElements>%n <contextDataElements name="ServerKnownBy" type="string">%n <contextValue>%S{TKIOM.KNOWN_BY}</contextValue>%n </contextDataElements>%n <contextDataElements name="UserId" type="string">%n <contextValue>%u</contextValue>%n </contextDataElements>%n <contextDataElements name="ParentCorrelator" type="string">%n <contextValue>%X{ARM.ParentCorrelator}</contextValue>%n </contextDataElements>%n <contextDataElements name="CurrentCorrelator" type="string">%n <contextValue>%X{ARM.CurrentCorrelator}</contextValue>%n </contextDataElements>%n </muws1:ManagementEvent> |
|
1Operating Environment Information for z/OS: When you specify %uuid or WEF in a logging facility configuration file, the identifiers that SAS creates are unique only for the current computer node. %uuid or WEF does not create a UUID. You can obtain a computer node name by using the %S{ hostname}conversion character. |