search:
Search support.sas.com
KNOWLEDGE BASE
System Requirements
Install Center
Product Documentation
Papers
Samples & SAS Notes
Focus Areas
SUPPORT
License Assistance
Administrator Services
Downloads & Hot Fixes
LEARNING CENTER
Bookstore
Training
Certification
SAS Learning Edition
Higher Education Resources
SAS OnDemand For Academics
COMMUNITY
User Groups
Events
E-Newsletters
Advanced Search
support.sas.com
KNOWLEDGE BASE
SUPPORT
LEARNING CENTER
COMMUNITY
Product Documentation
>
SAS 9.2 Documentation
Print
|
E-mail
|
Bookmark
|
Feedback
SAS(R) 9.2 Logging: Configuration and Programming Reference
PDF
|
Purchase
Contents
About
What's New in SAS 9.2 Logging
SAS Logging
SAS Logging Facility
Accessibility Features of the SAS Logging Facility
Overview of the SAS Logging Facility
Logging Facility Terminology
How the Logging Facility Works
Loggers
Appenders
Logging Thresholds
Formatting Messages
Message Filtering
Using the SAS Logging Facility in the SAS Intelligence Platform
Enabling the SAS Logging Facility
Enabling the Logging Facility for SAS Server Logging
Enabling the Logging Facility in SAS Programs
Naming a SAS Session
LOGAPPLNAME= System Option
LOGCONFIGLOC= System Option
XML Configuration Overview and Reference
Overview of the Logging Configuration File
Typographical Conventions
Syntax Conventions
XML Elements for Configuring SAS Logging
Structure of the Logging Configuration File
Sample Configuration Files
SAS Logger References
SAS Logger Overview and Syntax
Appender Reference
ARMAppender
ConsoleAppender
FileAppender
FilteringAppender
IOMServerAppender
RollingFileAppender
sLogAppender
UNXFacilityAppender
WindowsEventAppender
ZOSFacilityAppender
ZOSWtoAppender
Pattern Layout
Overview of Pattern Layouts
Syntax for a Pattern Layout
Pattern Layout Syntax Description
Conversion Characters
Format Modifiers
Examples
Filters
Overview of Filters
Syntax for Filters
AndFilter
DenyAllFilter
LevelMatchFilter
LevelRangeFilter
StringMatchFilter
Filter Examples
The Logging Facility for SAS Programs
The SAS Logging Facility in the SAS Language
Overview of the SAS Logging Facility in the SAS Language
Initializing the SAS Logging Facility for SAS Programs
Creating and Using Appenders in a SAS Program
Creating Loggers in a SAS Program
Creating Log Events in a SAS Program
Example of Creating Logger and Appender Categories
Autocall Macro Reference
Using Autocall Macros to Log Messages
%LOG4SAS Autocall Macro
%LOG4SAS_APPENDER Autocall Macro
%LOG4SAS_LOGGER Autocall Macro
%LOG4SAS_TRACE Autocall Macro
%LOG4SAS_DEBUG Autocall Macro
%LOG4SAS_INFO Autocall Macro
%LOG4SAS_WARN Autocall Macro
%LOG4SAS_ERROR Autocall Macro
%LOG4SAS_FATAL Autocall Macro
Example of Using Autocall Macros to Log Messages
Function Reference
Using the Logging Facility Functions in the DATA Step
LOG4SAS_APPENDER Function
LOG4SAS_LOGGER Function
LOG4SAS_LOGEVENT Function
Logging Example Using Functions
Logger and Appender Object Language Reference
The Logger and Appender Component Object Interface
Dot Notation and DATA Step Component Objects
ADDITIVITY Attribute
APPENDERREF Attribute
DEBUG Method
DECLARE Statement, Appender Object
DECLARE Statement, Logger Object
ERROR Method
FATAL Method
INFO Method
LEVEL Attribute
TRACE Method
WARN Method
Recommended Reading
Glossary
Index here
Product
Release
SAS Enterprise Data Integration Server
4.2
SAS Integration Technologies
9.2
SAS BI Server
4.2
SAS Data Integration Server
4.2
SAS Enterprise BI Server
4.2
Type
Usage and Reference
Copyright Date
February 2009
Last Updated
30Sep2009
Previous Page
|
Next Page
Previous Page
|
Next Page
SAS 9.2 Logging: Configuration and Programming Reference
Enabling the SAS Logging Facility
Enabling the Logging Facility for SAS Server Logging
Enabling the Logging Facility in SAS Programs
Naming a SAS Session
LOGAPPLNAME= System Option
LOGCONFIGLOC= System Option
Previous Page
|
Next Page
|
Top of Page
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.
Previous Page
|
Next Page
|
Top of Page