It's all about the answers!

Ask a question

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


Karthik Krishnan (8899122164) | 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?


Comments
Lakshmi Narasimhan T V commented Mar 23 '17, 1:32 a.m.
JAZZ DEVELOPER

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.
JAZZ DEVELOPER

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.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.