Page 1 of 1

log4j:WARN No appenders could be found for logger

Posted: Sat Oct 29, 2005 12:20 am
by bwinspur
When I launch my plugin (which is trying to use JAXB to unmarshal an xml
file with the extension wis), it dies with the following console output
on the launching eclipse (not the launched eclipse):
=============
log4j:WARN No appenders could be found for logger (com.oxygenxml.editor.EditorPlugin).
log4j:WARN Please initialize the log4j system properly.
Schema file wi-schema.wis opened
entered readSchema()
context created
unmarshaller created: com.webinfra.wischema.impl.runtime.UnmarshallerImpl@10b755d
=============
The last four lines are my debugging output, the log4j warning lines are apparently yours.

What causes the log4j warning lines to appear?

I have not seen this problem before and suspect it is preventing me from seeing
diagnostics that would help me debug my jaxb problem.

I am running:
XML Editor 6.1, build 2005072212
Eclipse SDK, Version: 3.1.0, Build id: I20050627-1435
XP Pro.

Posted: Mon Oct 31, 2005 10:46 am
by sorin_ristache
Hello,

We are using log4j for logging. You see the warning that log4j is not initialized because before version 6.2 by default we did not set any logging configuration. Starting with version 6.2 the plugin comes with a default configuration so that messages logged on FATAL level are sent to the console and there is no warning at startup. Please upgrade your <oXygen/> plugin. Because you run a 6.x version already you don't need other license key.

Regards,
Sorin

log4j appenders

Posted: Mon Nov 07, 2005 9:46 pm
by bwinspur
Thanks for the fix - I will upgrde,
Bill