The Application Server
has special default behavior to simplify the management of server
logs. If neither the APPEND nor the REPLACE options are specified,
the server replaces the contents of an existing log file if the last
modification date is greater than six days ago (actually, 5 days,
23 hours). If the last modification date is less than six days ago,
the server appends to the existing log file.
For example, if log
file Mon_5001.log has a last modification date of 5:00 p.m., Monday,
June 14, and the Application Server is re-started at 8:00 p.m. on
the same day, the server appends to the existing log. If the server
is restarted on Monday, June 21, the server replaces the contents
of the log file. This behavior, together with the service files that
are created by the
SAS/IntrNet Service Tasks in the SAS Deployment
Manager, ensures that server logs are kept for six days and then are
automatically overwritten.
Note: z/OS Application Servers
always append to an existing log file unless the REPLACE option is
specified. In addition, you cannot use partitioned data set members
for log files on
z/OS.