Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement Request: Option to Redirect Log File When Adding Jobs #61

Open
X1AOX1A opened this issue Jun 17, 2024 · 0 comments
Open

Enhancement Request: Option to Redirect Log File When Adding Jobs #61

X1AOX1A opened this issue Jun 17, 2024 · 0 comments

Comments

@X1AOX1A
Copy link

X1AOX1A commented Jun 17, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant