Console Log Rotation writes erroneous file names
search cancel

Console Log Rotation writes erroneous file names

book

Article ID: 87720

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Error Message :
N/A

When the log rotation or trace is set to write in the same directory as the Rich Client's binaries, indicated by ./UCDJ_LOG_##.TXT, the rotation results in erroneous file names.

Configuration of uc4config.xml:
###
<...>
<logging count="10">./UCDJ_LOG_##.TXT</logging>
 <trace count="10" ra="0" tcp="0" xml="3">./UCDJ_TRC_##.TXT</trace>
<...>
###

Result:
###
UCDJ_LOG_00.TXT
UCDJ_LOG_0001XT
UCDJ_LOG_0001XT#
UCDJ_TRC_00.TXT
UCDJ_TRC_0001XT
UCDJ_TRC_0001XT#
###

Environment

OS: Windows

Cause

Cause type:
Other
Root Cause: Not determined.

Resolution

N/A

Fix Status: No Fix

Fix Version(s):
N/A

Additional Information

Workaround :
Use the full path or %USERNAME% variable to describe the path in uc4config.xml instead of './'.

Example:
C:\\\windows\ C:\\\windows\UCDJ_LOG_##.TXT
OR
%USERNAME%\UC4\windows\UCDJ_TRC_##.TXT