Defining alternate filename for files that are locked by other process

Topics: Enterprise Library Core
May 5 at 10:48 AM

I notice when I run 2 or more instances of my application concurrently, the first instance will use the file with the filename defined in the configuration file. However, the second and later instance will log it into different files with <GUID><filename>.<extension>.

for example:
filename: traceFile.log
The first instance will use traceFile.log. The second instance will use <GUID>traceFile.log.

Is it possible to define alternate name for the second and later instance. say something like traceFile_01.log is for the second instance and traceFile_02.log is for the third instance and so on?

or is it possible for all instance log to the same file?