Войти
  • 9865Просмотров
  • 1 год назадОпубликованоBetter Stack

Logrotate - Log Management on Linux Servers

► RELATED GUIDES A Complete Guide to Managing Log Files with Logrotate How to View and Configure Linux System Logs on Ubuntu How to View and Configure Apache Access & Error Logs ► HACKING SCALE NEWSLETTER ► READ MORE More about Better Stack: Community pages: ► STAY TUNED GitHub: Twitter: LinkedIn: Instagram: TikTok: @betterstack ► ADDITIONAL RESOURCES Logrotate Man Page: 📌 𝗖𝗵𝗮𝗽𝘁𝗲𝗿𝘀: 00:00 Intro 00:46 logrotate overview 04:29 logrotate configuration file 06:19 Service-based logrotate configuration in logrotate.d directory 10:22 Choosing log rotation strategy (create vs. Copy truncate) 12:27 Logrotate practical example with Apache 21:19 Scheduling logrotate with cron 23:31 Monitoring with Better Stack using postrotate #linux #sysadmin