Hello,
I’ve mostly got Openfire (3.7.0) working, but am still having issues with webchat. Before I can troubleshoot that some more, I think I need to be able to see any errors that are popping up. Currently all logging is enabled, including debug logging. In the web UI there are no logs shown under any tabs, and in openfire’s home/logs directory there is only a “stats.txt” which seems to be logs of db operations.
What I’ve checked:
-openfire is running as user “openfire” and the log directory is owned by that user (and it can write the ‘stats.txt’ log)
-java’s $HOME seems to be set, the full command line when the server is running is “openfire 84708 0.0 2.3 422408 79556 ?? Ss 1:20AM 2:28.99 /usr/local/diablo-jdk1.6.0/bin/java -server -jar -Xmx256M -Dopenfire.lib.dir=/usr/local/share/java/classes -DopenfireHome=/usr/local/share/java/openfire /usr/local/share/java/classes/startup.jar”
-if I start openfire by hand, I get a ton of logging to STDOUT
When I start it by hand, I get these two messages that seem to indicate something is amiss with log4j:
log4j:WARN No appenders could be found for logger (org.jivesoftware.util.log.util.CommonsLogFactory).
log4j:WARN Please initialize the log4j system properly.
Openfire 3.7.0 [Jun 28, 2011 2:22:33 PM]
I’ve seen some mention of a log4j.xml file on the boards here, but I’m not seeing it anywhere in my distribution.
Any tips on what’s going on?