Displaying Source Information in Logs for User Actions
To print the source information such as IP, Host name, and Time (UTC zone) in the
admin-useraction.log, perform the following steps:
Procedure
-
In the Administrator UI, click
Shared Objects > Logging Appenders.
-
From the list of Logging Appenders, select Admin_User_Action_Log_Appender.
-
In the
Admin_User_Action_Log_Appender configuration, update
Pattern Layout field as:
%R{_cl.dateTimeString.useraction.log} [%t] [%-5p] -
%R{_cl.hostname.clientip.useraction.log}%m%n
-
Click
Save.
-
Apply the Logging configuration.
-
Add the following properties in
SystemNode.tra file:
java.property.com.tibco.admin.useraction.log.enable.print.hostandip=true
java.property.com.tibco.admin.useraction.log.enable.print.utc.dateandtime=true
-
Restart the System Node.
Copyright © 2022. Cloud Software Group, Inc. All Rights Reserved.