evergreen-admin:maintenance:logs
Differences
This shows you the differences between two versions of the page.
| evergreen-admin:maintenance:logs [2008/11/02 20:27] – created dbs | evergreen-admin:maintenance:logs [2022/02/10 13:34] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ======Administering Evergreen Logs====== | ||
| + | Particularly if you have set debugging to a highly verbose level, like '' | ||
| + | To teach '' | ||
| + | < | ||
| + | compress | ||
| + | / | ||
| + | # keep the last 4 archived log files along with the current log file | ||
| + | # log log.1.gz log.2.gz log.3.gz log.4.gz | ||
| + | # and delete the oldest log file (what would have been log.5.gz) | ||
| + | rotate 5 | ||
| + | |||
| + | # if the log file is > 50MB in size, rotate it immediately | ||
| + | size 50M | ||
| + | |||
| + | # for those logs that don't grow fast, rotate them weekly anyway | ||
| + | weekly | ||
| + | }</ | ||