Search code examples
eclipse-plugineclipse-rcpe4pde

eclipse.log.level in Eclipse RCP config.ini file not working?


I am using service Logger (workbench Logger) to log in Eclipse RCP. I have used it many locations where it is used for logging INFO, WARNING and ERROR as well.
I had set eclipse.log.level = ERROR in the launch configuration (tab) of the product file. Now I expect it to log only ERROR logs in the log file.
But when I am launching from the product file it is logging all the INFO logs also. My understanding is wrong on eclipse.log.level? or anything else has to be done?


Solution

  • Since this is a system property you set it with

    -Declipse.log.level=ERROR
    

    in the 'VM arguments' section of the 'Arguments' tab on the launch configuration.