Hi Lars, We are using log4j.properties file instead of 'Log4JLogConfigInitializer' for metadata sync logging purpose. The FILE parameter of FileAppender in log4j.properties needs the value of DHIS2_HOME environment variable to save the metadata sync log in the same folder location as that of the other logs. We are creating a system property specified in VM options when starting the DHIS server to get the value of environment variable and log4j.properties file can use that property.
We would be mentioning this in the documentation as well. Would like to hear your thoughts regarding this. Thanks Aamer.
_______________________________________________ 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