powered by Jive Software

Small fix for debugging

Hello !

For debugging purpose, can we change AdminConsolePlugin.java:

method initialize() :

System.setProperty(“org.apache.commons.logging.LogFactory”,“org.mortbay.log.Fact ory”);

change to :

if (System.getProperty(“org.apache.commons.logging.LogFactory”) == null) {

System.setProperty(“org.apache.commons.logging.LogFactory”,“org.mortbay.log.Fac tory”);

}

WBR, Alex.

That’'s only for logging from Jetty… is there a reason that seeing debug/info messages from Jetty would help?

Regards,

Matt

It’'s not only for Jetty. It applied log rules for all application. So, when I try to set logging for my plugin, it uses this rule.

Alex,

One thing you could do instead – use the Jive Messenger Log class: the nice thing about that approach is that users will be able to see any logging messages in the admin console.

Regards,

Matt