Overview of the Logging Configuration File |
You use <?xml?> and <logging:configuration> elements as the first XML elements in the configuration file to specify XML attributes and the SAS logging message category.
The <appender>, <logger>, and <root> elements define the loggers and appenders.
The <param>, <layout>, <level>, <filter>, and <appender-ref> elements are child elements that customize appender and logger definitions .
The following table summarizes the XML DTD for SAS logging:
Element Name and Description | Element Characteristics |
<?xml ?>
is the first XML element in the configuration file |
|
<logging:configuration>
defines the logging message category and the message category default values </logging:configuration> |
|
<appender>
defines a destination for log messages, filters to limit log messages, and the format of the log message </appender> |
|
<logger>
names a message category, references an appender, and defines a message threshold </logger> |
|
<root>
a fixed SAS logger and the highest logger in any logging hierarchy </root> |
|
<param />
defines an appender or a filter parameter and a parameter value |
|
<layout>
specifies conversion-pattern layouts </layout> |
|
<level>
defines the message threshold that a logger accepts |
|
<filter>
specifies message-filtering values </filter> |
|
<appender-ref>
names an appender for processing a log event </appender-ref> |
|
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.