How to enable debug logging for troubleshooting security policy issues.

How to enable debug logging for troubleshooting security policy issues.

book

Article ID: KB0088870

calendar_today

Updated On:

Products Versions
TIBCO API Exchange -
Not Applicable -

Description

Description:
Follow these instructions to enable debug logging for troubleshooting security policy issues.

Issue/Introduction

How to enable debug logging for troubleshooting security policy issues.

Resolution

Create a new file, example: log4j.properties, then add the following lines:

log4j.logger.com.tibco.governance=TRACE, fa
log4j.logger.com.tibco.amx.governance=TRACE, fa
log4j.logger.com.tibco.asg.per=TRACE, fa
log4j.logger.com.tibco.trinity=TRACE, fa
log4j.logger.com.tibco.amx.ra=TRACE, fa
log4j.appender.fa=org.apache.log4j.FileAppender
log4j.appender.fa.File=debug.log
log4j.appender.fa.layout=org.apache.log4j.PatternLayout
log4j.appender.fa.layout.ConversionPattern=%d{yyyy MMM dd HH:mm:ss:SSS} %-5p: %m%n

Append -Dlog4j.configuration=file:///<location of log4j.properties> to java.extended.properties in asg-engine.tra.

Restart the engine.