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 manual when I get a > chance.
Good. You will forget to redo it the next time you upgrade the war, though, so I'd recommend externalizing the file (to DHIS2_HOME?). Jo > Regards, > Jason > > > On Fri, Feb 25, 2011 at 5:09 AM, Jo Størset <stor...@gmail.com> wrote: >> >> 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:/path/to/log4j.properties' to your >> environment (e.g. CATALINA_OPTS) >> >> Logging really is an operational concern, so I think it makes sense to >> externalize. >> >> Jo > > > > -- > Jason P. Pickering > email: jason.p.picker...@gmail.com > tel:+260974901293 _______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp