|
|
This rule detects the
setProperty
method call on a
system object with either of the following keys:
- LogFactory.FACTORY_PROPERTY, or
- org.apache.commons.logging.LogFactory.FACTORY_PROPERTY
For this rule the automated fix will delete this call.
For more information, see these articles about Jakarta Commons Logging with WebSphere Application Server:
|
The
setProperty
method invocation on a system object with its first argument set to:
- LogFactory.FACTORY_PROPERTY, or
- org.apache.commons.logging.LogFactory.FACTORY_PROPERTY
Examples:
System.setProperty(LogFactory.FACTORY_PROPERTY, "weblogic.logging.commons.LogFactoryImpl");
System.setProperty(org.apache.commons.logging.LogFactory.FACTORY_PROPERTY, "weblogic.logging.commons.LogFactoryImpl");
The automated fix will delete these set calls.