enableTracing
public static void enableTracing(int level, OutputStream stream);
This method turns on tracing at the specified trace level. See enableTracing(int) for details of levels.
Specifying a FileOutputStream means that in a WebSphere Application Server version 5 environment, the WebSphere MQ Base Java™ classes trace is not redirected to the WebSphere Application Server trace adapter which expects a JMS context.
If the trace string JMSApi=all=enabled is specified within the WebSphere Application Server version 5 environment at the same time as this is run, it takes priority and this tracing is disabled.
- Parameters
- level - the level of trace.
- stream - the stream to which output is sent.
uj12610_