Monday, July 12, 2021

OIC - log file naming convention

In the integrations, in error handling we need to create a log file to store the error details in a computing directory for support perspective. Basically we follow the below log file naming convention.

Naving convention:

<Integration name>_<current date yyyy-mm-dd><hours from date time>.<minutes from date time>.<seconds from date time>.log

In assign

Concat($self/nsmpr0:metadata/nsmpr0:integration/nsmpr0:name,"_",fn:current-date(),fn:hours-from-dateTime(fn:current-dateTime()),".",fn:minutes-from-dateTime(fn:current-dateTime()),".",fn:seconds-from-dateTime(fn:current-dateTime()),".log")

For example:

POC_RestServiceTest_2021-07-12z12.0.3.599.log


No comments:

Post a Comment

Featured Post

OIC - how can I use XSLT functions to remove leading zeros from numeric and alphanumeric fields?

To remove leading zeros from an numeric field in Oracle Integration Cloud (OIC) using XSLT, you can Use number() Function The number() funct...