A & C
A twelve-factor app never concerns itself with routing or storage of its output stream. It should not attempt to write to or manage logfiles. Instead, each running process writes its event stream, unbuffered, to stdout. During local development, the developer will view this stream in the foreground of their terminal to observe the app’s behavior.
A and C are correct.
## Factor XI: Logs ##
Treat logs as event streams.
Logs have no fixed beginning or end but flow continuously as long as the app is operating. A 12-factor app never concerns itself with routing or storage of its output stream. It should not attempt to write to or manage log files. Instead, each running process writes its event stream, unbuffered, to stdout.
In staging and production deploys, each process’s stream will be captured by the execution environment, collated together with all other streams from the app, and routed to one or more final destinations for viewing and long-term archival. These archival destinations are not visible to or configurable by the app.
AC
Factor XI: Logs
Treat logs as event streams
Logs have no fixed beginning or end but flow continuously as long as the app
is operating. A 12-factor app never concerns itself with routing or storage of
its output stream. It should not attempt to write to or manage log files.
Instead, each running process writes its event stream, unbuffered, to stdout.
A twelve-factor app never concerns itself with routing or storage of its output stream. It should not attempt to write to or manage logfiles. Instead, each running process writes its event stream, unbuffered, to stdout.
---
Most significantly, the stream can be sent to a log indexing and analysis system such as Splunk, or a general-purpose data warehousing system such as Hadoop/Hive.
- log streaming (https://12factor.net/logs)
- Application code writes its event stream to stdout.
- Write the logs unbuffered to stdout.
- Application log streams are sent to log indexing and analysis systems such as Splunk.
This section is not available anymore. Please use the main Exam Page.350-901 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Writer
Highly Voted 3 years, 11 months agoravenfz
Highly Voted 3 years, 11 months agojohntermlen
Most Recent 9 months, 1 week agoTeringzooi
1 year, 7 months agodesignated
1 year, 8 months agoQuiShong
1 year, 10 months agoferock
2 years ago__al__
2 years, 1 month agopython_tamer
2 years, 2 months agoGuillaume
2 years, 5 months agophc1978
2 years, 11 months agoElvergalarga
3 years, 1 month agoKaddi
3 years, 6 months agoFedesaucho
3 years, 11 months ago