Difference between revisions of "/dev/stdout"
Jump to navigation
Jump to search
↑ https://12factor.net/logs
m (Welcome moved page Stdout to /dev/stdout) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
[[wikipedia:Stdout]] | [[wikipedia:Stdout]] | ||
− | * <code>2>&1</code> | + | * <code>[[2]]>[[&1]]</code> |
* <code>>&</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 | [[find .]] 2>&1 |
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: