Logfile location

I use Openfire 3.7.0 on a Slackware server. I installed Openfire from the *.tar.gz release under /opt. Openfire now wirtes the logfiles in /log instead of /opt/openfire/logs. Because of that i cannot see the log in the web interface. Does someone know how to fix this?

An easy fix is to delete the logfile directory under openfire instalation. And create a symbolic link to the folder where openfire logfile folder should be.

cd into openfire install dir.

rm -rf logs

ln -s /logs /openfire/install/dir/logs

That worked for me!

To work around this problem i had to edit the file “log4j.xml” and replace the ${openfireHome} variable with the path to the log dir.