On Tue, Jun 9, 2015 at 11:19 AM, Bob Jolliffe <bobjolli...@gmail.com> wrote:
> I just tried - you can't override those settings with an external > file. They will always kick in after the configuration is loaded. > Which is very inflexible. For example even the logging level is > fixed. > > I think its worth reconsidering. > In order to override log4j default initialization you can set the log4j.configuration system property to point to another resource (e.g. in your dhis2-tools scripts). This applies whether the default config is set in Java or through a config file. See the docs here <http://logging.apache.org/log4j/1.2/manual.html>, scroll to "Default Initialization Procedure". Lars
_______________________________________________ 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