Bug 76978 [ErrorHandling] WorkbenchPlugin logs to System.err
methods such as below, log to System err. These should be updated to use ILog. /** * Logs the given message to the platform log. * * If you have an exception in hand, call log(String, Throwable) instead. * * If you have a status object in hand call log(String, IStatus) instead. * * This convenience method is for internal use by the Workbench only and * must not be called outside the Workbench. * * @param message * A high level UI message describing when the problem happened. */ public static void log(String message) { getDefault().getLog().log( StatusUtil.newStatus(IStatus.ERROR, message, null)); System.err.println(message); //1FTTJKV: ITPCORE:ALL - log(status) does not allow plugin information to be recorded }
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/tasklist/MarkerUtil.java
"error", IDEWorkbenchPlugin.getIDEImageDescriptor("obj16/error_tsk.gif"));
        imageDescriptors.put(
                "warn", IDEWorkbenchPlugin.getIDEImageDescriptor("obj16/warn_tsk.gif"));
        imageDescriptors.put(
                "info", IDEWorkbenchPlugin.getIDEImageDescriptor("obj16/info_tsk.gif"));
        imageDescriptors.put(
                "hprio", IDEWorkbenchPlugin.getIDEImageDescriptor("obj16/hprio_tsk.gif"));
        imageDescriptors.put(
                "lprio", IDEWorkbenchPlugin.getIDEImageDescriptor("obj16/lprio_tsk.gif"));
        imageDescriptors
                .put(
                        "complete_tsk", IDEWorkbenchPlugin.getIDEImageDescriptor("obj16/complete_tsk.gif"));
        imageDescriptors
                .put(
                        "incomplete_tsk", IDEWorkbenchPlugin.getIDEImageDescriptor("obj16/incomplete_tsk.gif"));
        imageDescriptors.put(
                "gotoobj", IDEWorkbenchPlugin.getIDEImageDescriptor("elcl16/gotoobj_tsk.gif"));
        imageDescriptors.put(
                "addtsk", IDEWorkbenchPlugin.getIDEImageDescriptor("elcl16/addtsk_tsk.gif"));
        imageDescriptors
                .put(
                        "addtsk_disabled", IDEWorkbenchPlugin.getIDEImageDescriptor("dlcl16/addtsk_tsk.gif"));
        imageDescriptors
                .put(
                        "showcomplete", IDEWorkbenchPlugin.getIDEImageDescriptor("elcl16/showcomplete_tsk.gif"));
        imageDescriptors
                .put(
                        "selected_mode", IDEWorkbenchPlugin.getIDEImageDescriptor("elcl16/selected_mode.gif"));
        imageDescriptors
                .put(