dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #10643
Re: Audit log error with Tomcat
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
Follow ups
References