Author: challngr Date: Thu Oct 24 17:01:54 2013 New Revision: 1535440 URL: http://svn.apache.org/r1535440 Log: UIMA-3373 Enforce DUCC log4j.xml (instead of other stuff in CP) when starting ducc daemons.
Modified: uima/sandbox/uima-ducc/trunk/src/main/admin/ducc.py Modified: uima/sandbox/uima-ducc/trunk/src/main/admin/ducc.py URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/src/main/admin/ducc.py?rev=1535440&r1=1535439&r2=1535440&view=diff ============================================================================== --- uima/sandbox/uima-ducc/trunk/src/main/admin/ducc.py (original) +++ uima/sandbox/uima-ducc/trunk/src/main/admin/ducc.py Thu Oct 24 17:01:54 2013 @@ -77,7 +77,8 @@ class Ducc(DuccUtil): jvm_opts.append('-Dos.page.size=' + self.os_pagesize) jvm_opts.append('-Dducc.deploy.configuration=' + self.DUCC_HOME + '/resources/ducc.properties') jvm_opts.append('-Dducc.head=' + ducc_head) - + jvm_opts.append('-Dlog4j.configurationFile=' + self.DUCC_HOME + '/resources/log4j.xml') + service = 'org.apache.uima.ducc.common.main.DuccService' for c in complist: if ( c == 'agent' ): @@ -195,7 +196,8 @@ class Ducc(DuccUtil): if ( args != None ): cmd.append(args) - #print 'CMD', cmd + #print 'CMD', cmd + if ( pid == None ): if ( background ): pid = self.nohup(cmd)