logs/emm_struts.log and logs/emm_axis.log error fix

Use this forum to report bugs and to check for bugfixes and new releases of OpenEMM

Moderator: moderator

sailbert
Posts: 5
Joined: Fri Sep 21, 2007 7:54 pm
Location: coos bay, or

logs/emm_struts.log and logs/emm_axis.log error fix

Post by sailbert »

console_stderr.log
java.io.FileNotFoundException: logs/emm_struts.log (No such file or directory)
java.io.FileNotFoundException: logs/emm_axis.log (No such file or directory)


The "logs" directory does not exist. There is a /home/openemm/log directory.

The fix is to rename /home/openemm/log to /home/openemm/logs but I don't know if anything else is using the log directory. On my system the directory was empty.

I suggest this change.
In the file
/home/openemm/webapps/openemm/htdocs/WEB-INF/classes/emm.properties

change.
log4j.appender.LOGFILE.File=logs/emm_axis.log
to
log4j.appender.LOGFILE.File=/home/openemm/var/spool/log/emm_axis.log

change
log4j.appender.STRUTSLOG.File=logs/emm_struts.log
to
log4j.appender.STRUTSLOG.File=/home/openemm/var/spool/log/emm_struts.log

OpenEMM 5.3.0
Ubuntu 7.04