What is the standard format used by TIBCO BusinessEvents (BE) for datetime recorded in engine logs and can users change it.

What is the standard format used by TIBCO BusinessEvents (BE) for datetime recorded in engine logs and can users change it.

book

Article ID: KB0094029

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
TIBCO BusinessEvents Extreme -
Not Applicable -

Description

Resolution:

The default format for datetime recorded in BE engine logs is yyyy MMM dd HH:mm:ss:SSS 'GMT' .

On top of this, BE adds the hours offset at the end of that format. There is an engine property that you can set, "be.trace.print_tz_minutes", that will print the minutes of the timezone offset. However, it will only print the minutes if the minutes are greater than zero, which is generally not the case. By default, only the hours offset is logged.

You are able to override this format by setting the engine property be.trace.date.format. For instance, if you wanted the full timezone offset you could do something like the following in the be-engine.tra:

be.trace.date.format=yyyy MMM dd HH:mm:ss:SSS 'GMT' ZZ

That would print a log message similar to 2016 May 18 11:07:10:204 GMT -05:00 . A single "Z" would eliminate the colon (i.e. -0500), so you can tweak it to fit your needs.

Issue/Introduction

What is the standard format used by TIBCO BusinessEvents (BE) for datetime recorded in engine logs and can users change it.

Additional Information

Engg email