3 ms·
If only we had separate output streams for logs and actual program output…
by omginternets 3y ago
If only we had separate output streams for logs and actual program output…
- karmakaze 3y agoThere's still a problem if operational output goes to stdout and error output to stderr. Where do the warnings go that don't directly affect either? Perhaps a better solution is to have structured 'pipes' that some experimental shells/programs use.
- omginternets 3y agoI'm not an ops guy, but my understanding was that stdout was for ordinary program output and stderr was for logs, which in a modern application should be structured , including a level/severity field.
- karmakaze 3y agoYes that works with the caveat that each program can have its own among widely varying error output formats.