Enhanced Support Facility 2.6 User's Guide |
Contents
Index
![]() ![]() |
Part 4 Common Base Facility | > Chapter 13 Server Default Configuration |
The Log Clear function is executed at system boot, and executed by cron(1M).
The log files are cleared when it meets the following conditions.
File Name |
Backup File Name |
Log Clear Conditions |
/var/adm/messages |
/var/adm/messages.{0,1,2,3} |
If the mtime of /var/adm/messages.0 file is older than 7 days. (Solaris 9 OS) |
/var/log/syslog |
/var/log/syslog.{0,1,2,3,4,5,6,7} |
If the mtime of /var/log/syslog.0 file is older than 7 days. (Solaris 9 OS) |
/var/adm/wtmpx |
/var/adm/wtmpx.old |
If file size is larger than 5120KB. If the accounting is enabled, the log file is not cleared. |
/var/adm/wtmp |
/var/adm/wtmp.old |
If /var/adm/wtmpx file is cleared. If the accounting is enabled, the log file is not cleared. (Solaris 2.6,7 OS) |
/var/adm/vold.log |
/var/adm/vold.log.old |
If file size is larger than 256KB. |
/var/adm/sulog |
/var/adm/sulog.{0,1,2,3} |
If file size is larger than 512KB. |
/var/cron/log |
/var/cron/olog |
If file size is larger than 512KB. (Solaris 9 OS) |
/var/saf/_log |
/var/saf/_log.{0,1} |
If file size is larger than 256KB. |
/var/saf/zsmon/log |
/var/saf/zsmon/log.{0,1} |
If file size is larger than 256KB. |
/var/adm/spellhist |
/var/adm/spellhist.old |
If file size is larger than 256KB. |
/var/lp/logs/requests |
/var/lp/logs/requests.{1,2} |
At 3:10 every day. (Solaris 9 OS) |
/var/lp/logs/lpsched |
/var/lp/logs/lpsched.{1,2} |
If the mtime of /var/lp/logs/lpsched.1 is older than 7 days. (Solaris 9 OS) |
Contents
Index
![]() ![]() |