The option backup_name doesn't appear to work correctly?

The option backup_name doesn't appear to work correctly?

book

Article ID: KB0086725

calendar_today

Updated On:

Products Versions
TIBCO SmartSockets -
Not Applicable -

Description

Resolution:
Setting the RTprocess option trace_file foo.txt  will cause a file named "foo.txt" to be created for the RTprocess' trace output.
If the option  setopt backup_name .bak  is set after setting the trace_file name it appears to be ignored. So, if the RTprocess is started, stopped and restarted, the name of the trace file backup will be "foo.txt~". ('~' is the default backup_name)

To force the correct behavior, the backup_name option *must*  be set before the trace_file option  or any other trace file option for that matter.
/* Example of correct usage */
setopt backup_name .bak
setopt trace_file_size 5000000
setopt trace_file foo.txt
setopt trace_level debug
setopt trace_flags prefix,timestamp
setopt time_format full

Issue/Introduction

The option backup_name doesn't appear to work correctly?