Usage Note 61578: Enabling debug levels for the SAS® Environment Manager server log
You can enable debug levels in the SAS Environment Manager server log to help troubleshoot issues relating to SAS Environment Manager.
In order to enable debug levels, complete the steps below:
- Stop the SAS Environment Manager server by submitting the following at a command prompt:
SAS-configuration-directory/Lev1/Web/SASEnvironmentManager/server-5.8.0-EE/bin/hq-server.ext stop
In this case, ext represents the extension of the file based on your operating environment (Windows: hq-agent.bat / UNIX: hq-agent.sh).
- Open the server-log4j.xml file found in the <SAS_CONFIG>/Lev1/Web/SASEnvironmentManager/server-5.8.0-EE/conf/ directory.
- Add the following code under the <!-- 3rd party loggers --> section:
<!-- Added for debug -->
<logger name="org.springframework.security">
<level value="debug" />
</logger>
<logger name="org.jasig.cas">
<level value="debug" />
</logger>
- Start the SAS Environment Manager server by submitting the following at a command prompt:
SAS-configuration-directory/Lev1/Web/SASEnvironmentManager/server-5.8.0-EE/bin/hq-server.ext
In this case, ext represents the extension of the file based on your operating environment (Windows: hq-agent.bat / UNIX: hq-agent.sh).
After you finish troubleshooting, it is recommended to disable debug levels by following the steps below:
- Stop the SAS Environment Manager server by submitting the following at a command prompt:
SAS-configuration-directory/Lev1/Web/SASEnvironmentManager/server-5.8.0-EE/bin/hq-server.ext stop
In this case, ext represents the extension of the file based on your operating environment (Windows: hq-agent.bat / UNIX: hq-agent.sh).
- Open the server-log4j.xml file found in the <SAS_CONFIG>/Lev1/Web/SASEnvironmentManager/server-5.8.0-EE/conf/ directory.
- Comment out or delete the following code under the <!-- 3rd party loggers --> section:
<!-- Added for debug -->
<logger name="org.springframework.security">
<level value="debug" />
</logger>
<logger name="org.jasig.cas">
<level value="debug" />
</logger>
- Start the SAS Environment Manager server by submitting the following at a command prompt:
SAS-configuration-directory/Lev1/Web/SASEnvironmentManager/server-5.8.0-EE/bin/hq-server.ext
In this case, ext represents the extension of the file based on your operating environment (Windows: hq-agent.bat / UNIX: hq-agent.sh).
Operating System and Release Information
| SAS System | SAS Environment Manager | Microsoft® Windows® for x64 | | |
| 64-bit Enabled AIX | | |
| 64-bit Enabled Solaris | | |
| HP-UX IPF | | |
| Linux for x64 | | |
| Solaris for x64 | | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Date Modified: | 2017-12-22 12:54:10 |
| Date Created: | 2017-12-14 14:07:23 |