2 builds having same log due to starting at exact same time.
We have 2 build engines running on a same machine. These 2 engines are processing scheduled builds.
Yesterday we had a case that these 2 stared processing builds at a same time (including milliseconds) and in this case the logs are messed up.
I see that from the log file names the uniqueness is time-stamp which in this case is defeated.
Can we influence somehow to make the log files unique?
One answer
JBE creates the log file in the current working directory. To overcome the problem of 2 JBE instances creating log files with the same name, one can launch different JBE instances from different directories, by either having the jbe.exe in the system path or referring to it using the full path, from the command line.
Comments
Lakshmi Narasimhan T V
JAZZ DEVELOPER Mar 23 '17, 1:32 a.m.I think the problem occurs when two engines are started from one copy of the jazz/buildsystem/buildengine directory. One workaround is to invoke the other engine from a different copy of buildengine directory.