Difference between revisions of "/dev/stdout"
Jump to navigation
Jump to search
↑ https://12factor.net/logs
m (Welcome moved page Stdout to /dev/stdout) |
|||
(13 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{lc}} | ||
[[wikipedia:Stdout]] | [[wikipedia:Stdout]] | ||
− | * <code>2>&1</code> | + | * <code>[[2]]>[[&1]]</code> |
+ | * <code>>&</code> | ||
− | * The [[twelve-factor app]] treat logs as event streams and each runnig process ts event stream, unbuffered, to <code>stdout</code>.<ref>https://12factor.net/logs</ref> | + | * The [[twelve-factor app]] treat logs as event streams and each runnig process [[ts]] event stream, [[unbuffered]], to <code>stdout</code>.<ref>https://12factor.net/logs</ref> |
+ | |||
+ | [[find .]] 2>&1 | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[set -x]]</code> to print every command that is executed and every variable that is set to the [[standard output]] in [[Bash]] | ||
+ | * [[CKA: Manage container stdout & stderr logs]] | ||
== See also == | == See also == |
Latest revision as of 11:37, 15 February 2024
>&
- The twelve-factor app treat logs as event streams and each runnig process ts event stream, unbuffered, to
stdout
.[1]
find . 2>&1
Related[edit]
set -x
to print every command that is executed and every variable that is set to the standard output in Bash- CKA: Manage container stdout & stderr logs
See also[edit]
- Standard streams:
/dev/stdin
,/dev/stdout
,/dev/stderr
,/dev/null
, File descriptor,set -x, 2>&1, stdbuf
- Linux logging, Cisco IOS logging
Advertising: