When using
ARM, options must be specified in a certain order when setting up the
ARM appender. Options can be specified using the SAS command line or OPTIONS statement.
When using the OPTIONS
statement, the following order is required:
-
the ARM appender must be enabled at the INFO diagnostic level before specifying the
ARMAGENT= option
-
the ARMAGENT= option
must be specified before the ARMSUBSYS= option
%log4sas();
%log4sas_logger(Perf.ARM, 'level=info');
options armagent=log4sas;
options armsubsys=(arm_proc);
When using the SAS command
line, the following order is required:
-
the ARM appender must be enabled at the INFO diagnostic level before specifying the
ARMAGENT= option
-
the ARMSUBSYS= option
must be specified before the ARMAGENT= option
"<SAS92_installation_path\sas.exe>"
-CONFIG "<SAS94_installation_path\nls\en\SASV9.CFG>"
-armsubsys (arm_proc) -armagent log4sas -logconfigloc logconfig.xml
Note: On the command line, the
ARMSUBSYS= option is before the ARMAGENT= option. In the OPTIONS statement,
the ARMAGENT= option is before the ARMSUBSYS= option.
Note: In SAS 9.4, if you have an
ARM appender that is defined in the XML configuration file, you no
longer need to set the ARMAGENT=LOG4SAS system option. ARM sets ARMAGENT
to LOG4SAS6 internally.