Skip to content

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

@X1AOX1A

Description

@X1AOX1A

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions