Directing SAS Log and SAS Procedure Output |
The SAS 9.2 logging facility enables the categorization and collection of log event messages and to write them to a variety of output devices. The logging facility supports problem diagnosis and resolution, performance and capacity management, and auditing and regulatory compliance. The following features are provided:
Log events are classified by using a hierarchical naming system that enables you to configure logging at a broad or a specific level.
Log events can be directed to multiple output destinations, including files, operating system facilities, databases, and client applications. For each output destination, you can specify:
the categories and levels of events to report
the message layout, including the types of data to be included, the order of the data, and the format of the data
filters based on criteria such as diagnostic levels and message content
For each log destination, you can configure the message layout, including the contents, the format, the order of information, and literal text.
For each log destination, you can configure filters to include or exclude events that are based on diagnostic levels and message contents.
Logging diagnostic levels can be adjusted dynamically without starting and stopping processes.
Performance-related events can be generated for processing by an Application Response Measurement (ARM) 4.0 server.
For z/OS, log messages can be written to ZOSFacilityAppender or ZOSWtoAppender.
For more information about using the logging facility in z/OS, see The SAS 9.2 Logging Facility in SAS Logging: Configuration and Programming Reference.
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.