Category: | Logging |
Requirements: | The MAUTOSOURCE system option must be set. |
The %LOG4SAS autocall macro must be invoked before this macro is invoked to initialize SAS logging. |
Tip | You can specify the root logger by setting name equal to either two double quotation marks with no space between them (" "), or to "root". If you specify the root logger, these settings are in effect only during the lifespan of the DATA step. Root setting before and after the DATA step are based on the logging configuration file. |
Restriction | ADDITIVITY can be modified for a logger only if the logger’s IMMUTABILITY option in the logging configuration file is set to FALSE. If you cannot modify a logger’s ADDITIVITY option, contact your system administrator. |
Requirements | The appender names must already exist. Appenders are created by the %LOG4SAS_APPENDER autocall macro or defined in a logging configuration file. |
When you specify more than one appender, the list must be enclosed in parentheses. | |
Interaction | If ADDITIVITY=TRUE, log events are also passed to all of the appenders that are associated with the logger's hierarchy. |
Restriction | LEVEL can be modified for a logger only if the logger is defined in a logging configuration file and if the IMMUTABILITY attribute in the logger configuration file is set to FALSE. If you cannot modify a logger’s LEVEL option, contact your system administrator. |