Current Situation
The -O option currently allows renaming the log file. However, it would be beneficial if this option could also redirect the log file to a specified directory.
Enhancement Proposal
Extend the functionality of the -O option to allow redirecting the log file to a specified path. This would enable users to specify different log directories for individual jobs without affecting pending jobs.
Example Usage
ts -O ./path1/logname bash example1.sh
ts -O ./path2/logname bash example2.sh
ts -O ./path3/logname bash example3.sh
Rationale
The --set_logdir option applies to all pending jobs, which limits flexibility. Allowing -O to specify log directories per job would enhance usability and provide finer control over log file management.
Current Situation
The
-Ooption currently allows renaming the log file. However, it would be beneficial if this option could also redirect the log file to a specified directory.Enhancement Proposal
Extend the functionality of the
-Ooption to allow redirecting the log file to a specified path. This would enable users to specify different log directories for individual jobs without affecting pending jobs.Example Usage
Rationale
The
--set_logdiroption applies to all pending jobs, which limits flexibility. Allowing-Oto specify log directories per job would enhance usability and provide finer control over log file management.