Search results
Jump to navigation
Jump to search
- * '''logrotate''': 用于管理日志文件的大小和数量。它可以自动轮转、压缩、删除旧的日志文件,防止磁盘空间被耗尽。 [[logrotate 配置]]对于长期日志保留非常重要。 ...9 KB (233 words) - 15:21, 6 May 2025
- * **Logrotate:** 用于管理日志文件,可以定期轮转、压缩和删除旧的日 [[Category:Logrotate]] ...10 KB (260 words) - 06:20, 8 May 2025
- * <b>自动轮转:</b> 使用日志库或系统工具自动轮转日志文件。 例如,`logrotate` 是一个常用的 Linux 日志轮转工具。 ...9 KB (265 words) - 01:14, 9 May 2025
- 长时间运行的 Nginx 日志文件会变得很大,不方便管理和分析。可以使用日志切割工具(例如 `logrotate`)来定期切割日志文件。 ...8 KB (320 words) - 06:18, 8 May 2025
- 为了防止日志文件过大,需要定期轮转日志文件。可以使用 `logrotate` 工具进行日志轮转。 创建一个配置文件,例如:`/etc/logrotate.d/nginx`: ...28 KB (379 words) - 05:59, 8 May 2025
- * 使用日志轮转工具: 使用 `logrotate` 工具定期切割和压缩 Nginx 日志文件。 ...11 KB (230 words) - 06:15, 8 May 2025
- * **日志轮转:** 使用 `logrotate` 配置日志轮转,防止日志文件过大。 ...8 KB (217 words) - 18:58, 7 May 2025