Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 314788

Summary: SysMin.flushAtExit has incorrect default value
Product: [Technology] RTSC Reporter: Ramsey Harris <ramsey>
Component: CoreAssignee: Dave Russo <d-russo>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Ramsey Harris CLA 2010-05-27 18:57:42 EDT
Currently, the default value for SysMin.flushAtExit is true, it should be false. When set to true, all the data stored in outbuf is flushed to stdio, typically the CIO buffer which is quite small. The net effect is that you loose all your data because CIO is so small and it wraps, so the output is overwritten. This is especially bad when your application crashes and all your error logging is thrown away. In a deployed system, you want to save the data in outbuf. When developing code, and you are using CCS, and its attached when your actually run the program, then its nice to have it set to true. But that should not be the default.
Comment 1 Dave Russo CLA 2010-06-08 12:25:02 EDT
Rejected in CCB. Although the use case provided below is valid a majority of our existing customers expect their System_printf messages to be shown in CIO by default. There is a long history of such usage and to reverse that would cause considerable confusion and pain among many customers. 
The problem mentioned below may have been avoided by better documentation indicating the default behavior of Sysmin. If there are any suggestions on this front a separate bug maybe filed.
Comment 2 Dave Russo CLA 2011-11-09 18:55:50 EST
closing "ancient" resolved bugs