Difference between revisions of "/dev/stdout"
Jump to navigation
Jump to search
↑ https://12factor.net/logs
Line 2: | Line 2: | ||
[[wikipedia:Stdout]] | [[wikipedia:Stdout]] | ||
− | * <code>[[2]]>&1</code> | + | * <code>[[2]]>[[&1]]</code> |
* <code>>&</code> | * <code>>&</code> |
Revision as of 07:23, 3 November 2022
>&
- The twelve-factor app treat logs as event streams and each runnig process ts event stream, unbuffered, to
stdout
.[1]
find . 2>&1
Related
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
- Standard streams:
/dev/stdin
,/dev/stdout
,/dev/stderr
,/dev/null
, File descriptor,set -x, 2>&1, stdbuf
- Linux logging, Cisco IOS logging
Advertising: