![]() | ![]() | ![]() |
When you initialize the SAS Environment Manager Service Architecture Framework, the logging configuration of application servers such as the workspace server is updated to include an ARM log. The ARM log is parsed by the nightly extract, transform, load (ETL) process for the framework. This new log is not included in the default logconfig.trace.xml trace-logging file that is used to create logs for troubleshooting issues. In some cases, you might want to have a log-configuration file that includes both the ARM log configuration and the higher level trace-logging configuration. This note describes how to create such a file for various application servers.
Complete these steps to create the combined log-configuration file for workspace servers and SAS/CONNECT servers:
The end result is a new appender definition in your new logconfig.apm.trace.xml file that looks similar to the following:
You also see this new line in your existing ARM appender:
To confirm the functionality of this new file, you can delete the following option to your application server's sasv9_usermods.cfg file:
Replace the deleted option with the following:
Then, validate your application server. The validation should succeed with both a trace log created in your log directory and an ARM log file created in the application server's PerfLogs directory.
Complete these steps to create the combined log-configuration file for stored process servers and pooled workspace servers:
The end result is two new appender definitions in your new logconfig.apm.trace.xml file that look similar to the following:
<appender name="RollingARM4" class="RollingFileAppender">
<param name="Append" value="true"/>
<param name="ImmediateFlush" value="true"/>
<rollingPolicy class="TimeBasedRollingPolicy">
<param name="FileNamePattern" value="<SAS-configuration-directory>/Levn/SASApp/StoredProcessServer/PerfLogs/arm4_STPServer_%d_%S{hostname}_%S{pid}.log"/>
</rollingPolicy>
<layout>
<param name="ConversionPattern" value="%d|%c|%56X{ARM.ParentCorrelator}|%56X{ARM.CurrentCorrelator}|%X{ARM2.Record}"/>
</layout>
</appender>
<appender name="ARM" class="ARMAppender">
<param name="GetTimes" value="true"/>
<param name="AppName" value="StoredProcessServer"/>
<param name="GroupName" value="SAS"/>
<appender-ref ref="RollingARM4"/>
</appender>
You also see a new logger definition:
To confirm the functionality of this new file, you can delete the following option to your application server's sasv9_usermods.cfg file:
Replace the deleted option with the following:
Then, restart your object spawners and validate your application servers. The validation should succeed with both a trace log created in your log directory and an ARM log file created in the application server's PerfLogs directory.
| Product Family | Product | System | SAS Release | |
| Reported | Fixed* | |||
| SAS System | SAS Environment Manager Enablement Kit Server | Solaris for x64 | ||
| Linux for x64 | ||||
| HP-UX IPF | ||||
| 64-bit Enabled Solaris | ||||
| Microsoft® Windows® for x64 | ||||
| 64-bit Enabled AIX | ||||
| Type: | Usage Note |
| Priority: |
| Date Modified: | 2019-04-01 10:51:25 |
| Date Created: | 2019-03-27 13:32:17 |


