title: log4j to logback(migration)
body: <p>We are using log4j+commons-logging in our current projects. Now we are mirgrating from log4j to Logback, so can we just use replace log4j.properties with logback.xml or we have to convert log4j to SLF4J?</p>
  
  <p>as per the suggestion i kept the code same i have code like this</p>
  
  <pre><code>import org.apache.log4j.Level;
  import org.apache.log4j.Logger;
  import org.apache.log4j.Priority;
  
  public class LoggerUtil
  {
      // logger
      static Logger logger;
  
      // applications
  
      public static String APP_AccInqSERVICE = "AccInqApp";
  </code></pre>
  
  <p>above code is part of LoggerUtils.java it is in commonutils.
  now there is AccInqWeb module where use LoggerUtils for loggings like this</p>
  
  <pre><code> LoggerUtil.info(LoggerUtil.APP_ACCT_INQ, AccountInqService.class,
                  "searchAccountSnapshot", "method starts....");
  </code></pre>
  
  <p>I kept the LoggerUtils.java code as it is and include log4j-over-slf4.jar and remove log4j.jar now it is compiled fine and i deploy commonutils module on server and i add add -Dlogback.configurationFile=C:\u001\isuser\tesbea\user_projects\domains\iservices‌​10\resources\logback.xml in setDomainEnv.cmd and logback jar i set logback jar on classpath but i am not getting any logs we use WLS10.3.0 is there anything that i need to do with configuration</p>