Do not use WebLogic log4j logging objects

This rule detects the use of specific WebLogic log4j classes. All imports will be flagged for the following classes:

  • weblogic.logging.log4j.AppenderNames
  • weblogic.logging.log4j.Log4jLoggingHelper
  • weblogic.logging.log4j.WLLog4jLogEvent
  • weblogic.logging.log4j.WLLog4jLevel

Refer to the WebSphere(R) Application Server documentation about the use of Apache Commons which can be configured to use Log4J:

Configuring applications to use Jakarta Commons Logging