To use the SAS logging facility, do the following:
-
Define a logging configuration file, which configures
appenders and loggers. You can define the configuration in an XML
file, or by using SAS language elements. If you perform a planned
installation, then logging configuration files are provided for your
SAS servers.
-
Specify the LOGCONFIGLOC= system option to enable logging
if you are using configuration files. The LOGCONFIGLOC= system option
does not have to be specified for the logging facility to operate
in SAS programs. If you perform a planned installation, then the LOGCONFIGLOC=
system option is included in the configuration files for your SAS
servers.
-
Issue log events in a format that can be processed by
the SAS logging facility if you are developing your own SAS programs.