000036915 - The WildFly server.log file is not updated on RSA Identity Governance & Lifecycle 7.1.0 and above

Document created by RSA Customer Support Employee on Dec 11, 2018Last modified by RSA Customer Support Employee on Dec 18, 2019
Version 9Show Document
  • View in full screen mode

Article Content

Article Number000036915
Applies ToRSA Product Set: RSA Identity Governance & Lifecycle
RSA Version/Condition: 7.1.x
Platform (Other): WildFly
 
IssueAfter installing or upgrading to RSA Identity Governance & Lifecycle version 7.1.0 or above, the WildFly application server log file, $AVEKSA_HOME/wildfly/standalone/log/server.log, is no longer updated.
 
CauseThe <handler name="FILE"/> entry for the WildFly application server log file is missing from the WildFly application server configuration file, $AVEKSA_HOME/wildfly/standalone/configuration/aveksa-standalone-full.xml. Because the file log handler is not configured, the WildFly application server does not log any messages to the WildFly application server log. Only the console log handler is configured in the WildFly configuration file and this information is logged to the application server standard output file, $AVEKSA_HOME/wildfly/standalone/log/stdout.log. 

This issue has been reported in engineering ticket ACM-92729.
 
ResolutionThis issue will be resolved in a future release.
 
WorkaroundAs a workaround, the WildFly configuration may be modified as follows:
  1. Login as the oracle user
  2. This procedure will modify the $AVEKSA_HOME/wildfly/standalone/configuration/aveksa-standalone-full.xml. Backup this file before proceeding.


cp $AVEKSA_HOME/wildfly/configuration/aveksa-standalone-full.xml
$AVEKSA_HOME/wildfly/standalone/configuration/aveksa-standalone-full.xml_backup_<MM-DD-YYYY>


  1. Run the following command at the system prompt:


$AVEKSA_HOME/wildfly/bin/jboss-cli.sh --connect "/subsystem=logging/root-logger=ROOT:add-handler(name=FILE)"


  1. The output should look similar to:


{"outcome" => "success"}


  1. This command modifies the $AVEKSA_HOME/wildfly/standalone/configuration/aveksa-standalone-full.xml file as shown below. The parameter <handler name="FILE"/> is added to the root-logger section so that WildFly server information will now be logged to server.log.

FROM:



<root-logger>
   <level name="INFO"/>
   <handlers>
      <handler name="CONSOLE"/>
   </handlers>
</root-logger>


TO:



<root-logger>
   <level name="INFO"/>
   <handlers>
      <handler name="FILE"/>
      <handler name="CONSOLE"/>
   </handlers>
</root-logger>

 

Note: This modification takes effect immediately and does not require a restart of RSA Identity Governance & Lifecycle.



 

Attachments

    Outcomes