This content has been marked as final. 
    
Show                 1 reply
    
- 
        1. Re: Disabling DBLoggingServicejbaton Sep 12, 2006 4:11 AM (in response to jbaton)A way is to replace the DBLoggingFactory by some own 'do nothing' implementation. 
 1/ Create a servicepublic class NothingLoggingService implements LoggingService { public static Logger LOG = Logger.getLogger(NothingLoggingService.class); public void log(ProcessLog processLog) { LOG.debug( processLog.toString() ); } public void close() { } }
 2/ Create a servicepublic class NothingLoggingServiceFactory implements ServiceFactory { public Service openService() { return new NothingLoggingService(); } public void close() { } }
 3/ Cut and paste default xml config (from jar) into jbpm.cfg.xml
 4/ Link the "logging" service, to your own implementation<service name="logging" factory="........."/> 
 JBaton
