Design: Logging System for Distributed Applications
Design focuses on log collection, storage, search, and alerting. Excludes detailed UI design and log analysis algorithms.
Functional Requirements
Non-Functional Requirements
+-------------+ +----------------+ +-------------------+ +----------------+
| Application | ----> | Log Collector | ----> | Message Queue | ----> | Log Storage |
| Services | | (Agent) | | (Kafka/RabbitMQ) | | (Elasticsearch) |
+-------------+ +----------------+ +-------------------+ +----------------+
|
v
+----------------+
| Alerting & |
| Monitoring |
+----------------+INFO, WARN, and ERROR in logging strategies?log_level = "WARN" log_destination = "file"What will happen if the system logs an
INFO message?Pass the test and this pattern moves unknown