How to enable SAS® Enterprise Miner™ debugging


This article explains how to enable different debugging options that can be used for troubleshooting SAS Enterprise Miner issues. These instructions apply to the SAS Enterprise Miner Client and SAS Enterprise Miner Server versions released on SAS® 9.3 and SAS® 9.4.

Client Debugging

Middle tier Debugging

Complete the following instructions when SAS Technical Support requests that you enable SAS Enterprise Miner middle tier debugging.

  1. Log on to the middle tier machine using a SAS Administrator account.
  2. Stop the SAS Web Application Server instance where SAS Enterprise Miner is deployed. Typically, this server is SASServer11_1 or SASServer1_1.
  3. In the /SASConfig/Lev#/Web/Common/LogConfig directory, create a backup of the SASEnterpriseMiner-log4j.xml file.
  4. Edit the SASEnterpriseMiner-log4j.xml file by modifying the following loggers. Change the priority value from WARN to DEBUG:

    <category additivity="false" name="com.sas.analytics.eminer" > <priority value="WARN"/> <category additivity="false" name="com.sas.analytics.eminer" > <priority value="DEBUG"/>
    <category additivity="false" name="com.sas.analytics.eminer.midtier" > <priority value="WARN"/> <category additivity="false" name="com.sas.analytics.eminer.midtier" > <priority value="DEBUG"/>
     
  5. Save the SASEnterpriseMiner-log4j.xml file.
  6. Start the SAS Web Application Server instance (SASServerX_Y). Typically, SASServerX_Y is SASServer11_1 or SASServer1_1 where SAS Enterprise Miner is deployed.
  7. After recreating the problem, send the following log files:

    • SASEnterpriseMiner.log from the /SASConfig/Lev#/Web/Logs/SASServerX_Y directory.
    • server.log from the /SASConfig/Lev#/Web/WebAppServer/SASServerX_Y/logs directory

Beginning with SAS Enterprise Miner 14.1, you can enable dynamic middle tier debugging. See SAS Note 57104, "Enabling dynamic logging in SAS® Enterprise Miner™ without requiring a middle-tier restart."