Administering Logging for SAS Servers |
The SAS Deployment Wizard automatically enables logging for most SAS servers. The following steps are necessary to enable server logging:
A logging configuration file must be created for the server. The logging configuration file is an XML file that specifies and configures loggers and appenders.
The SAS Deployment Wizard automatically creates an initial logging configuration file for each server. Each server's configuration file is named logconfig.xml and is located in the directory where the servers' startup script is located. For example, the metadata server's logging configuration file is located in the following path:
SAS-configuration-directory\Lev1\SASMeta\MetadataServer
The LOGCONFIGLOC= system option must be specified in the server's sasv9.cfg file. This system option specifies the path and filename of the logging configuration file, as in the following example:
-logconfigloc "logconfig.xml"
If you want to change the option to specify a different path or filename for the logging configuration, then modify the LOGCONFIGLOC= option in the server's sasv9_usermods.cfg file.
For details about the initial configuration files, see Initial Logging Configuration for SAS Servers.
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.