This method of the Service Class determines whether each line written to system.err is automatically written to the event log or whether the service will manually flush the stream to log events.
public static boolean setAutoDumpErr(boolean autodump);
Note As of SDK for Java version 2.02, this method changes the state of System.err if it has not been changed since the first service was instantiated. The status of err, the output stream for each service, can be changed with setServiceAutoDumpErr.
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 writing to the error log. In this case, the stream can be manually flushed by calling System.err.flush, which will write any text printed to the stream since the last flush to the event log as a single event. |