PQ54732: TURN OFF TIMESTAMP TRACING OF SYSTEM.OUT PRINTS VIA A VARIABLE.

APAR status
Closed as documentation error.

Error description
WAS 4.0.X puts timestamps on all entries to the standard out
file.  This can be turned off by the use of the undocumented
JVM system properties variable TRACE_SYSTEM_OUT, with a value
of false.  The use of this variable makes WAS 4.0.x behave
like earlier releases.
Local fix Problem summary
****************************************************************
* USERS AFFECTED: All WebSphere Application Server users       *
*                 migrating from 3.5 using System.out.print    *
*                 to log files.                                *
****************************************************************
* PROBLEM DESCRIPTION: WebSphere 4.0 changed the way data is   *
*                      being written to standard output.       *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
Here is the JVM System Property and how it works:
.
Starting with WAS4.0, WebSphere prepends timestamps, thread id
and action (ie. System.out) to all output written to standard
output.  This new feature changes the behavior from prior
releases in which only the output from System.out was logged.
This behavior change causes System.out.print to append a new
line to the end of each System.out call.  To override the
default behavior, set the JVM system property
TRACE_SYSTEM_OUT=false.
.
Example:
System.out.print("param2 snoop_2test-value2  ");
System.out.println("snoop2_param1 snoop2_test-value1 ");
.
Without overriding system property TRACE_SYSTEM_OUT.
 11/9/01 14:15:05:530 EST  469d4f75 WebGroup      I
               SRVE0091I:  Servlet LOG : snoop: init
 11/9/01 14:15:05:590 EST  469d4f75 SystemOut     U
               param2 test-value2
 11/9/01 14:15:05:600 EST  469d4f75 SystemOut     U
               param1 test-value1
 11/9/01 14:15:05:690 EST  469d4f75 WebGroup      I
               SRVE0091I:  Servlet LOG : snoop2: init
 11/9/01 14:15:05:690 EST  469d4f75 SystemOut     U
               param2 snoop_2test-value2
 11/9/01 14:15:05:700 EST  469d4f75 SystemOut     U
               snoop2_param1 snoop2_test-value1
.
Overriding system property TRACE_SYSTEM_OUT (setting to false).
 11/9/01 14:15:05:530 EST  469d4f75 WebGroup      I
   SRVE0091I:  Servlet LOG : snoop: init
 11/9/01 14:15:05:590 EST  469d4f75 SystemOut     U
   param2 test-value2  param1 test-value1
 11/9/01 14:15:05:690 EST  469d4f75 WebGroup      I
   SRVE0091I:  Servlet LOG : snoop2: init
 11/9/01 14:15:05:690 EST  469d4f75 SystemOut     U
   param2 snoop_2test-value2  snoop2_param1 snoop2_test-value1
Problem conclusion
The documentation will be updated to include this information
about changing the JVM property to make the 4.0 output look
the same as 3.5.
Temporary fix Comments
APAR information
APAR number PQ54732
Reported component name WEBSPHERE AES N
Reported component ID 5630A2301
Reported release 400
Status CLOSED DOC
PE NoPE
HIPER NoHIPER
Submitted date 2001-11-13
Closed date 2001-11-21
Last modified date 2001-11-21

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros

Fix information

Applicable component levels


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ54732
IBM Group: Software Group
Modified date: Nov 21, 2001