How to change the timestamp format in the engine logs for TIBCO API Exchange?

How to change the timestamp format in the engine logs for TIBCO API Exchange?

book

Article ID: KB0071837

calendar_today

Updated On:

Products Versions
TIBCO API Exchange All

Description

APIX is a Business Events project and the log entry date format can be changed using property provided by BE

Issue/Introduction

This article provides inputs to change the timestamp format of engine log entries for APIX

Environment

All Supported Platforms

Resolution

One can add the below property to the asg-engine.tra to change the date format used in the engine log file:
-------------------
#Changing DateFormat in the engine log
be.trace.date.format=yyyy MMM dd HH:mm:ss:SSS
-------------------

The date and time formats conforms to the formats of the java.text.SimpleDateFormat class of JDK 1.6, or the org.apache.commons.lang.time.FastDateFormat class of Apache. Refer the URL http://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html for more information on the supported formats.

Attached is a sample log file for reference.

Additional Information

The "Configuring the Date Format in the Log Files" chapter in the BE documentation

Attachments

How to change the timestamp format in the engine logs for TIBCO API Exchange? get_app