dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #10646
Re: Audit log error with Tomcat
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 at 5:09 AM, Jo Størset <storset@xxxxxxxxx> 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.pickering@xxxxxxxxx
tel:+260974901293
Follow ups
References