000014256 - Additional Apache Struts INFO level messages in WebLogic log files.

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000014256
Applies ToRSA Federated Identity Manager (FIM) 4.1
IssueAdditional Apache Struts INFO level messages in WebLogic log files.
The Weblogic logs and WebLogic standard output log a lot of messages of this type:

Mar 9, 2011 6:14:05 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='com.rsa.ui.jsp.taglibs.html.LocalStrings', returnNull=true
CauseThese messages are generated by the third party Apache modules used by RSA FIM.  They are printed under certain conditions depending on the logging settings set for the WebLogic JRE.
ResolutionThe the logging in the these modules is not controlled by the log4j.xml file used for normal FIM logging.  To disable these messages you must modify the Apache logging for the JRE itself.  You need to change the logging level from INFO to a lower level.  This can be done in several ways.
1. Disable or change the logging by passing the following parameters on the java command line.
To turn off the commons-logging use the following system property 
-Dorg.apache.commons.logging.Log=org.apache.commons.logging
(to change the  log level from INFO to WARN)
 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog
 -Dorg.apache.commons.logging.simplelog.defaultlog=WARN
2. Create or modify the existing commons-logging.properties file in the user_projects\domains\<project> folder
#Uncomment the following if you want to turn off the commons logging
#org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog
#set the Logger to simpleLog and set the default level to WARN
#org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog
#org.apache.commons.logging.simplelog.defaultlog=WARN
3. Create or modify the existing logging.properties file located in the <JDKHOME>/jre/lib directory
Set the level to WARN
Legacy Article IDa54702

Attachments

    Outcomes