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

  1. In the Administrator UI, click Shared Objects > Logging Appenders.
  2. From the list of Logging Appenders, select Admin_User_Action_Log_Appender.
  3. 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
  4. Click Save.
  5. Apply the Logging configuration.
  6. 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
  7. Restart the System Node.