It's all about the answers!

Ask a question

Logging does not work on Jazz Build Engine


Adriana Valido (121) | asked Sep 12 '10, 12:14 p.m.
As part of our build we run junit testcases. Some of those testcases are meant to verify that certain messages are logged. When the testcases run locally on a developer's environment, they all pass. However, when they are executed on the jazz build engine , they all complete with failures.

Is the behavior of the logger changed in the jazz build engine?

We are using log4j and configuring the BasicConfigurator to use an appender that writes to a StringWriter. Also, logging to just a file does not seem to work either. No messages are logged.

Thank you

One answer



permanent link
Nick Edgar (6.5k711) | answered Sep 12 '10, 3:28 p.m.
JAZZ DEVELOPER
It could be that there's a conflict with the log4j included in the build toolkit.
But first, what makes you think it's related to the logging at all? Is there a failure stack trace that suggests this?

To could try running Ant without the build toolkit libraries: uncheck 'Include the Jazz build toolkit tasks on the Ant library path' in the Ant page of the build definition.

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.