Where I can find the output of System.out.println(SOP) and logger?

Where I can find the output of System.out.println(SOP) and logger?

book

Article ID: KB0091561

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Resolution:
In Designer, if you use System.out.println (SOP) in JavaCode and JavaMethod activities, you can find the output in the Designer console (Window-Show Console). If you use an External Command to start another Java Application, such as java –cp test.jar Test, you cannot see the output of SOP in Test class. In Admin, the output of SOP never logs to the BW log file, no matter which activity you use. Starting the BW engine from a console, you can find the output from JavaCode and JavaMethod activities but you cannot se the output from the External Command.

If using log4j logger in Designer, we can find the output from JavaCode and JavaMethod. The output from the External Command still won't show in the console. You will find an error in the error output in External Command. If using log4j logger in admin, you can find the output from JavaCode and JavaMethod.

Issue/Introduction

Where I can find the output of System.out.println(SOP) and logger?