title: Log4j - disabling logs for a package
body: <p>How do I disable logs for a specific package when I  manually create the Appenders in a Java Class.I know that in the properties file,specifying log4j.logger.org.springframework=OFF would disable logs coming from the spring framework package.But I am not sure as to how this can be done from a Java class.</p>
  
  <p>Thanks</p>