This method of the Service Class determines whether each line written to system.out is automatically written to the event log or whether the service will manually flush the stream to log events.
public static boolean setAutoDumpOut(boolean autodump);
Note As of SDK for Java version 2.02, this method changes the state of System.out if it has not been changed since the first service was instantiated. The status of out, the output stream for each service, can be changed by using setServiceAutoDumpOut.
Returns the previous auto-flush state.
autodump | Set to true to automatically flush to the Windows NT event log whenever a new line is written. Set to false to enable the writing of multiline error messages to the information log. In this case, the stream can be manually flushed by calling System.out.flush, which will write any text printed to the stream since the last flush to the event log as a single event. |