Community
Participate
Working Groups
When eclipse platform is being shutdown, JobManager checks if there are running jobs which are not canceled by plugins that schedule them. If such jobs are found, it report error message like: "Job found still running after platform shutdown..." In addition to logging the message, it also writes the message to the standard error, which are unwanted in some case. Eclipse applications without GUI, for example a command line tool, may find it annoying, since it messes up the output. Such a system wide message should only appear in its log instead of the error output. Please enhance the code that report the above message, logging it instead of printing it to the standard error. Many thanks.
Created attachment 239762 [details] An example of unwanted "Job found still running..." This is an example command line tool which is based on eclipse application. This tool prints "Job found still running..." to the console, which is unwanted. Asking ECF to fix the bug of ECF jobs not canceled upon exit is one way. But this application is a complex system which depends on numbers of third party plugins, which might not cancel the jobs correctly. Suppressing the message by logging is a good way to avoid the annoyance.
This is the comment in code: // The RuntimeLog.log in its current implementation won't produce a log // during this stage of shutdown. For now add a standard error output. // One the logging story is improved, the System.err output below can be removed: System.err.println(msg); I believe this message is useful because it indicates a plugin did not shutdown correctly and this might cause other strange failures.
Yes, it is useful. But I want to make it configurable that the message should be displayed.