Contents
About
Title Page
What's New in the SAS 9.3 Logging Facility
SAS Logging
The 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
System Options for Enabling the SAS Logging Facility
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
Modifying or Replacing the Logging Configuration File
Error Messages for Logging Configuration File Errors
Logger Reference
Logger
Appender Reference
ARMAppender
ConsoleAppender
DBAppender
FileAppender
FilteringAppender
IOMServerAppender
JavaAppender
JMSAppender
RollingFileAppender
sLogAppender
UNXFacilityAppender
WindowsEventAppender
ZOSFacilityAppender
ZOSWtoAppender
Database Connection Options Reference for DBAppender
DBAppender Connection Options for DB2
DBAppender Connection Options for ODBC
DBAppender Connection Options for Oracle
DBAppender Connection Options for SAS Tables
DBAppender Connection Options for Teradata
Pattern Layouts
About Pattern Layouts
Syntax for a Pattern Layout
c Conversion Character
d Conversion Character
E Conversion Character
F Conversion Character
L Conversion Character
m Conversion Character
n Conversion Character
p Conversion Character
r Conversion Character
severity Conversion Character
S Conversion Character
sn Conversion Character
t Conversion Character
u Conversion Character
uuid Conversion Character
x Conversion Character
X Conversion Character
%% Conversion Character
Format Modifiers
Filters
Overview of Filters
Filter Examples
Syntax for Filters
AndFilter
DenyAllFilter
LevelMatchFilter
LevelRangeFilter
RepeatMatchFilter
StringMatchFilter
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
Example of 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
Function Reference
Using the Logging Facility Functions in the DATA Step
Logging Example Using Functions
LOG4SAS_APPENDER Function
LOG4SAS_LOGGER Function
LOG4SAS_LOGEVENT Function
Component Object 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
Appendix
Audit Messages for SAS Library Access
About Audit Messages for SAS Library Access
Sample: XML Logger and Appender
Sample Code to Look for Log Files and Build an Audit Report Data Set
Glossary
Product
Release
SAS Integration Technologies
9.3
SAS Data Integration Server
9.3
SAS Enterprise Data Integration Server
9.3
SAS BI Server
9.3
SAS Enterprise BI Server
9.3
Base SAS
9.3
Type
Usage and Reference
Copyright Date
July 2011
Last Updated
26Sep2013