Interview Prep/Linux/Logs, Limits & High-Traffic Tuning

How does log management work on a modern Linux server?

BeginnerProductionLogs, Limits & High-Traffic Tuning
Answer

Services log to stdout/stderr (captured by journald) or to files under /var/log. journald can forward to rsyslog, which writes classic files (/var/log/syslog, /var/log/messages, auth.log/secure) and can forward remotely. An agent (Fluent Bit, Vector, the CloudWatch agent, Elastic Agent) ships logs to a central store (Loki, Elasticsearch/OpenSearch, CloudWatch, Splunk). logrotate and journald size limits keep local disks from filling.

All Linux questions Roadmap: Linux

More on Logs, Limits & High-Traffic Tuning