A containerized civic chatbot that posts to Webex must follow the 12-factor logging tenet. How should the process emit log events?
Select an answer to reveal the explanation.
Short Explanation
Treat logs like a firehose the platform catches—not a binder the app files and rotates itself. stdout/stderr keeps the process disposable; self-managed /var/log files fight the tenet.
Full Explanation
Twelve-factor logging treats logs as an event stream: the process writes to stdout/stderr and the execution environment collects, ships, and stores them. Implementing in-app file rotation or laptop FTP archives couples the app to local disk and operators. Deeper aggregation strategy is complementary; the tenet itself is stream-versus-self-managed-logfile.