log4j:WARN No appenders could be found for logger

Having trouble installing Oxygen? Got a bug to report? Post it all here.
bwinspur
Posts: 37
Joined: Tue Nov 25, 2003 3:31 am

log4j:WARN No appenders could be found for logger

Post 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.
Bill W.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post 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
bwinspur
Posts: 37
Joined: Tue Nov 25, 2003 3:31 am

log4j appenders

Post by bwinspur »

Thanks for the fix - I will upgrde,
Bill
Bill W.
Post Reply