I found a solution/workaround: create a fragment containing only the
log4j.properties file, and attach this fragment to the plugin containing
the log4j libraries.
Still I would like to keep the log4j settings in my RCP application
pluging instead of creating a fragment for just this single file.