Difference between revisions of "/dev/stdout"
Jump to navigation
Jump to search
↑ https://12factor.net/logs
(Created page with " == See also == * {{stdin}}") |
m (Welcome moved page Stdout to /dev/stdout) |
||
(18 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{lc}} | ||
+ | [[wikipedia:Stdout]] | ||
+ | * <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> | ||
+ | |||
+ | [[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 == | ||
* {{stdin}} | * {{stdin}} | ||
+ | * {{logging}} | ||
+ | |||
+ | |||
+ | [[Category:Linux]] |
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: