Logging problem after upgrade to 3.7.0

Hello!

I have just upgraded Openfire from 3.6.4 to 3.7.0, it looks like everything works fine, but logging doesn’t and the only log I can see since the upgrade is a stderror.log file in the openfire’s log subdirectory which contains this error:

log4j:ERROR Could not instantiate class [org.jivesoftware.openfire.gateway.util.Log4JToOpenfireAppender].

java.lang.ClassNotFoundException: org.jivesoftware.openfire.gateway.util.Log4JToOpenfireAppender

at java.net.URLClassLoader$1.run(URLClassLoader.java:200)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)

at java.lang.ClassLoader.loadClass(ClassLoader.java:251)

at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:164)

at org.apache.log4j.helpers.Loader.loadClass(Loader.java:179)

at org.apache.log4j.helpers.OptionConverter.instantiateByClassName(OptionConverter .java:320)

at org.apache.log4j.helpers.OptionConverter.instantiateByKey(OptionConverter.java: 121)

at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:6 64)

at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:6 47)

at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurato r.java:544)

at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:440 )

at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:367)

at org.jivesoftware.openfire.gateway.GatewayPlugin.setLoggerProperty(GatewayPlugin .java:251)

at org.jivesoftware.openfire.gateway.GatewayPlugin.(GatewayPlugin.java:58)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessor Impl.java:39)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructor AccessorImpl.java:27)

at java.lang.reflect.Constructor.newInstance(Constructor.java:494)

at java.lang.Class.newInstance0(Class.java:350)

at java.lang.Class.newInstance(Class.java:303)

at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java :420)

at org.jivesoftware.openfire.container.PluginManager.access$300(PluginManager.java :80)

at org.jivesoftware.openfire.container.PluginManager$PluginMonitor.run(PluginManag er.java:1067)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)

at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)

at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101 (ScheduledThreadPoolExecutor.java:65)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodi c(ScheduledThreadPoolExecutor.java:14

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Schedu ledThreadPoolExecutor.java:166)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java: 650)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)

at java.lang.Thread.run(Thread.java:595)

log4j:ERROR Could not instantiate appender named “openfire”.

log4j:WARN No appenders could be found for logger (org.jivesoftware.util.log.util.CommonsLogFactory).

log4j:WARN Please initialize the log4j system properly.

I have tried to clear log files through the admin console, they were cleared successfully but they are still empty even after I turned on debugging and intentionally caused failed logins which I remember previously were logged in the error log.

Does anyone have any suggestions on how to fix this issue?