Valid in: | XML configuration |
Default | None |
Requirement | This element is required. |
Default | TRUE |
Requirement | This parameter is not required. |
Interaction | If both the Unique parameter and the Append parameter are specified, then the Unique parameter takes precedence. For details, see name=" Unique" . |
Default | The encoding setting that is in effect for the SAS session. For example, the ENCODING system option might be specified in the configuration file for a SAS server or for Base SAS. If the ENCODING system option is not specified for the SAS session, then the defaults that are described in the SAS National Language Support (NLS): Reference Guide |
For logging processes that run outside a SAS session (for example, logging for the SAS Object Spawner), the default is the encoding that is specified in the operating system settings. | |
Requirement | This parameter is not required. |
See | SAS National Language Support (NLS): Reference Guide |
Default | None |
Requirement | This parameter is required if the FileNamePattern parameter is not specified. |
Interaction | If both the File parameter and the FileNamePattern parameter are specified, then the File parameter takes precedence. |
%d
if
you want the date to appear in a format other than yyyy-mm-dd, or if you want to include additional
information such as the hour.
See | d Conversion Character |
See | S Conversion Character |
c:\logs\MetadataServer_%d_%S{host_name}.log
if you
want the log files to be written to the path c:\logs\
and the filename to include the current date and the name of the
metadata server host machine.
Default | None |
Requirement | This parameter is required if the File parameter is not specified. |
Interaction | If both the File parameter and the FileNamePattern parameter are specified, then the File parameter takes precedence. |
Default | FALSE |
Requirement | This parameter is not required. |
Default | The locale setting that is in effect for the SAS session. For example, the LOCALE system option might be specified in the configuration file for a SAS server or in the configuration file for Base SAS. |
For logging processes that run outside a SAS session (for example, logging for the SAS Object Spawner), the default is the locale that is specified in the operating system settings. | |
Requirement | This parameter is not required. |
See | SAS National Language Support (NLS): Reference Guide |
Default | None |
Requirement | No |
See | Logging Thresholds |
Events.log
is specified in path-and-filename. If the files Events.log
and Events.log_0
already exist, then the next log file
that is created is named Events.log_1
.
Default | FALSE |
Requirement | This parameter is not required. |
Interactions | If both the Unique parameter and the Append parameter are specified, then the Unique parameter takes precedence. If the log file already exists when logging begins, messages are logged as follows: |
If Unique is set to TRUE and Append is set to either TRUE or FALSE, then messages are written to a new file with a unique number appended to the filename. | |
If Unique is set to FALSE and Append is set to TRUE, then messages are appended to the end of the existing file. | |
If Unique is set to FALSE and Append is set to FALSE, then the contents of the existing file are erased and overwritten with new messages. |
Default | None |
Requirement | No |
See | Filters |
Default | None. If a conversion pattern is not specified, then the log event produces an empty string. |
Requirement | No |
See | Pattern Layouts |
%S{pid}
).
Events.log
. If the file already exists when logging begins, messages are appended
to the end of the file. <appender class="FileAppender" name="File"> <param name="File" value="c:\logs\Events.log"/> <param name="Append" value="true"/> <param name="ImmediateFlush" value="true"/> <layout> <param name="ConversionPattern" value="%d %-5p [%t] %u - %m"/> </layout> </appender>