How to configure in TIBCO BusinessWorks Collaborator (BWC) to rotate log files.

How to configure in TIBCO BusinessWorks Collaborator (BWC) to rotate log files.

book

Article ID: KB0085626

calendar_today

Updated On:

Products Versions
TIBCO BusinessWorks Collaborator -
Not Applicable -

Description

Description:
When audit, debug or status logs reach 2GB file size, the Workflow and repo server fails to start. In order to start the Workflow or repo server, the log file that reached 2GB size need to be truncated.

Issue/Introduction

How to configure in TIBCO BusinessWorks Collaborator (BWC) to rotate log files.

Resolution

There is no setting/option to configure log rotation in BWC. As a workaround you can try the following command to truncate the log.

****
cat /dev/null > audit.log

****


This way, you do not risk altering the open file handle. This will work for BWC debug and audit logs. You cannot use this for status.log. For status.log, try coping the file and then do 'cp /dev/null status.log' to truncate it. The header line needs to be added as the first line of the file for the status.log to be interpreted correctly.

Additional Information