| ▲ | 47282847 4 hours ago | |||||||
Interesting. Is this just literally “fun”, or do you see real world use cases? | ||||||||
| ▲ | jez 2 hours ago | parent | next [-] | |||||||
I have used this in the past when building shell scripts and Makefiles to orchestrate an existing build system: https://github.com/jez/symbol/blob/master/scaffold/symbol#L1... The existing build system I did not have control over, and would produce output on stdout/stderr. I wanted my build scripts to be able to only show the output from the build system if building failed (and there might have been multiple build system invocations leading to that failure). I also wanted the second level to be able to log progress messages that were shown to the user immediately on stdout.
It was janky and it's not a project I have a need for anymore, but it was technically a real world use case. | ||||||||
| ▲ | jas- 2 hours ago | parent | prev | next [-] | |||||||
Red hat and other RPM based distributions recommended kickstart scripts use tty3 using a similar method | ||||||||
| ▲ | post-it 3 hours ago | parent | prev [-] | |||||||
Multiple levels of logging, all of which you want to capture but not all in the same place. | ||||||||
| ||||||||