It's all about the answers!

Ask a question

2 builds having same log due to starting at exact same time.

Karthik Krishnan (8805115162) | asked Mar 21 '17, 12:48 p.m.

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?

Lakshmi Narasimhan T V commented 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.

One answer

permanent link
Sridevi Sangaiah (59179) | answered Mar 23 '17, 4:44 a.m.

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.

Your answer

Register or to post your answer.