Re: [Dhis2-devs] Audit log error with Tomcat

2011-02-24 Thread Jo Størset
Den 25. feb. 2011 kl. 09.19 skrev Jason Pickering: > Hi. > I edited the log4j.properties file in > /dhis/WEB-INF/classes/log4j.properties to point to the absolute file > path where the logs should be stored. Tomcat stopped complaining then. > Will put this in the server setup section of the manua

Re: [Dhis2-devs] Audit log error with Tomcat

2011-02-24 Thread Jason Pickering
Hi. I edited the log4j.properties file in /dhis/WEB-INF/classes/log4j.properties to point to the absolute file path where the logs should be stored. Tomcat stopped complaining then. Will put this in the server setup section of the manual when I get a chance. Regards, Jason On Fri, Feb 25, 2011 a

Re: [Dhis2-devs] Audit log error with Tomcat

2011-02-24 Thread Jo Størset
Den 24. feb. 2011 kl. 22.50 skrev Jason Pickering: > Can someone please explain how I can prevent this error from happening? I think your best bet is to - copy the log4j,properties to somewhere - edit the audit.log path to point to where you want the log file - add '-Dlog4j.configuration=file:

Re: [Dhis2-devs] Audit log error with Tomcat

2011-02-24 Thread jason.p.picker...@gmail.com
Started from a startup script ok /etc/init.d/. Sent from my HTC - Reply message - From: "Lars Helge Øverland" Date: Thu, Feb 24, 2011 19:37 Subject: [Dhis2-devs] Audit log error with Tomcat To: "Jason Pickering" Cc: "dhis2-devs" This audiot stuff is n

Re: [Dhis2-devs] Audit log error with Tomcat

2011-02-24 Thread Lars Helge Øverland
This audiot stuff is not very good since it will put the log file at the location where you start the servlet container. So I am guessing you start tomcat from a location where the process doesn't have write privilegies and then dhis fails when trying to create the file...? On Thu, Feb 24, 2011 at

[Dhis2-devs] Audit log error with Tomcat

2011-02-24 Thread Jason Pickering
Can someone please explain how I can prevent this error from happening? Straight up setup of DHIS2 on Ubuntu. INFO: Deploying web application archive dhis.war log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: audit.log (Permission denied) at java.io.FileOutputStre