Console Log Rotation writes erroneous file names

Document ID : KB000087720
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
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