[Branch ~dhis2-devs-core/dhis2/trunk] Rev 18908: Log. Logging of aync processes including analytics tables, resource tables and data synchronizati...

revision-diff.txt (8.94 KB)

We are of course not outputting to
/home/larshelg/dev/config/dhis2/logs/*.log rather DHIS2_HOME/logs/*.log ,
bzr apparently substitutes $ { } syntax with environment variables in
commit messages :wink:

···

On Wed, Apr 15, 2015 at 4:59 PM, <noreply@launchpad.net> wrote:

------------------------------------------------------------
revno: 18908
committer: Lars Helge Overland <larshelge@gmail.com>
branch nick: dhis2
timestamp: Wed 2015-04-15 16:58:13 +0200
message:
  Log. Logging of aync processes including analytics tables, resource
tables and data synchronization is now outputted to separate files under
/home/larshelg/dev/config/dhis2/logs/*.log. This will make it easier to
monitor async processes with less noise from standard logging. File size is
limited to 25MB plus 3 backup files for now.
added:

dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/log/

dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/log/Log4JLogConfigInitializer.java

dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/log/LogConfigInitializer.java
modified:
  dhis-2/dhis-support/dhis-support-system/pom.xml

dhis-2/dhis-support/dhis-support-system/src/main/resources/META-INF/dhis/beans.xml