cancel
Showing results for 
Search instead for 
Did you mean: 

why can't find 'org.activiti.engine.impl.util.LogUtil' in 5.13

ozhuang
Champ in-the-making
Champ in-the-making
hello ,
i'm reading  <activiti in action> now,
the book source base on activiti 5.9,
i try to update the code to activiti 5.13,

but the source don't work,
some errors,eg:
org.activiti.engine.impl.util.LogUtil can't be find in activiti 5.13.

some code following,how to change to base on   activiti 5.13?
==========================
import java.util.logging.Handler;
import java.util.logging.LogManager;
import java.util.logging.Logger;

import org.activiti.engine.impl.util.LogUtil;
import org.junit.BeforeClass;
import org.slf4j.bridge.SLF4JBridgeHandler;

public abstract class AbstractTest {
   
   @BeforeClass
   public static void routeLoggingToSlf4j() {
      LogUtil.readJavaUtilLoggingConfigFromClasspath();
      Logger rootLogger = LogManager.getLogManager().getLogger(""); 
      Handler[] handlers = rootLogger.getHandlers(); 
      for (int i = 0; i < handlers.length; i++) { 
         rootLogger.removeHandler(handlers); 
      }
      SLF4JBridgeHandler.install();
   }

}
=============================
by the way .where can i view the activiti  version  update history

2 REPLIES 2

ozhuang
Champ in-the-making
Champ in-the-making
hello ,
i'm reading  'activiti in action ' now,
the book source base on activiti 5.9,
i try to update the code to activiti 5.13,

but the source don't work,

jbarrez
Star Contributor
Star Contributor