Valid on Windows
You can configure the Enterprise Management Server to route message queue audit messages to the Windows event log. Each time the Enterprise Management Server writes an audit message to the audit log, a corresponding event is sent to the event log.
To route message queue audit messages to Windows event log
JBOSS_HOME\server\default\conf\
The appender specifies the class to use for auditing and how to display the data.
<logger name="EventLog"> <appender-ref ref="ENTM_UNIXSysLog"/> </logger>
Note: You can find the NTEventLogAppender.dll file in the Apache log4j 1.2.16 bundle. You can download the Apache log4j 1.2.16 from the Apache Logging Services website.
The Enterprise Management Server now routes message queue audit messages to the Windows event log.
Example: Modify the jboss-log4j.xml file to send message queue audit messages to Windows Event Log
The following snippet shows the jboss-log4j.xml file that is configured to route message queue audit messages to the Windows Event Log::
<appender name="ENTM_NTEventLog" class="org.apache.log4j.nt.NTEventLogAppender"> <param name="Source" value="CA Access Control Enterprise Management"/> <layout class="org.apache.log4j.SimpleLayout"/> </appender> <logger name="EventLog"> <appender-ref ref="ENTM_NTEventLog"/> </logger>
In this example,you did the following changes:
Copyright © 2013 CA Technologies.
All rights reserved.
|
|