Page MenuHomePhabricator

toolforge-jobs: merge stdout/stderr output
Open, Needs TriagePublicFeature

Description

Feature summary
Add a configuration parameter similar to jsub -j y (docs on wikitech): "send standard output and error together to the output file".

Use case(s)
The bot framework I use redirects most logging to stderr, whereas some relevant parts in my code also send info to stdout. Having logs split in two files is detrimental for properly understanding program flow and debugging.

Benefits
Reduced logdir bloat (only one file per task instead of two), better tracking of log output, closer resemblance to SGE.