Welcome to the Jazz Community Forum
Logging does not work on Jazz Build Engine

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
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

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