Containerized applications நுகர்சி centralized logging மற்றும் monitoring தேவையாக இருக்கிறது ஏனெனில் containers ephemeral மற்றும் many — logs மற்றும் metrics வெளிப்புறமாக சேகரிக்கப்பட வேண்டும் அதனால் அவை container removal க்குப் பிறகு உயிர்த்துடன் இருக்கவும் முழு system முழுவதும் visibility வழங்கவும் செய்யும். இது production containers க்கான essential observability.
Logging: log to stdout/stderr, aggregate centrally
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.
