Logrotate - Log Management on Linux Servers

Опубликовано: 20 Октябрь 2024
на канале: Better Stack
2,435
89

► RELATED GUIDES
A Complete Guide to Managing Log Files with Logrotate
https://betterstack.com/community/gui...

How to View and Configure Linux System Logs on Ubuntu 20.04
https://betterstack.com/community/gui...

How to View and Configure Apache Access & Error Logs
https://betterstack.com/community/gui...

► HACKING SCALE NEWSLETTER
https://newsletter.betterstack.com/

► READ MORE
More about Better Stack: https://betterstack.com/
Community pages: https://betterstack.com/community/

► STAY TUNED
GitHub: https://github.com/BetterStackHQ
Twitter:   / betterstackhq  
LinkedIn:   / betterstack  
Instagram:   / betterstackhq  
TikTok:   / betterstack  

► ADDITIONAL RESOURCES
Logrotate Man Page: https://linux.die.net/man/8/logrotate

📌 𝗖𝗵𝗮𝗽𝘁𝗲𝗿𝘀:
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