Resolution: Description:
===========
How to setup debug logging options for Policy Agent to understand message processing or to debug most issues.
Environment:
===========
All supported platforms and versions.
Resolution:
=========
The following are the logging options available for a Policy Agent to understand the details during message processing and the corresponding time taken.
To get detailed logging information:
Login to the Policy Manager Console.
Click on the System tab.
Select the Proxy agent you are testing with.
Click on Setup tab to the list of Service Loggers.
Click on Edit Setup.
Go to the entries:
com.amberpoint.agent.backplane.MessageProcessing
com.amberpoint.agent
Set the value to the required (FINEST is highest) level.
Save the configuration.
Note: Setting FINEST will inundate the log file with information and should be used with caution (not for production).
The detailed logging after this change can be found in the directory:
[for Policy Agent] <TIBCO_HOME>/policyagent/instances/agent-<port>\tomcat\amberpoint\eProxy\logdir\<latest_file>.log
[for Node Agent] <TIBCO_AMX_HOME>\data\<env>\<node>\temp\pmagent\cache\logdir\<latest_file>.log
A Logging-->Message History policy can also be setup to capture the request and response going through the proxy endpoint. Once this is enabled the messages can be viewed in the Log tab on the Service screen.