Aplikasi terkontainerisasi memerlukan centralized logging dan monitoring karena kontainer bersifat ephemeral dan jumlahnya banyak — log dan metrik harus dikumpulkan secara eksternal agar bertahan saat kontainer dihapus dan memberikan visibilitas di seluruh sistem. Ini adalah observabilitas penting untuk kontainer production.
Logging: log ke stdout/stderr, aggregasi secara terpusat
BEST PRACTICE: containers should log to STDOUT/STDERR (not to files inside the container):
→ Docker captures these (`docker logs`); a logging DRIVER forwards them elsewhere
→ WHY: containers are EPHEMERAL — logs in a removed container are LOST. Centralize them.
