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

Add an option for targets to specify a log file #38

Open
xmnlab opened this issue Apr 22, 2023 · 2 comments · May be fixed by #162
Open

Add an option for targets to specify a log file #38

xmnlab opened this issue Apr 22, 2023 · 2 comments · May be fixed by #162
Assignees
Labels
Milestone

Comments

@xmnlab
Copy link
Member

xmnlab commented Apr 22, 2023

It would be nice to have an option to specify a log for for a target. also, it would be nice to define the level for the log (stdout, stderr, or both). For example:

groups:
  mygroup:
    targets:
       mytarget:
         log:
           path: /tmp/log.txt
           level: err  # err, out, both
@xmnlab xmnlab added this to the OSL-C2023-01 milestone Nov 3, 2023
@xmnlab xmnlab added the size:medium <=16h label Nov 3, 2023
@xmnlab
Copy link
Member Author

xmnlab commented Jan 30, 2024

some explanation about output/error redirection with bash: https://linuxize.com/post/bash-redirect-stderr-stdout/

@ansh808s
Copy link
Contributor

ansh808s commented Mar 5, 2025

@xmnlab I would like to work on this issue :)

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

Successfully merging a pull request may close this issue.

2 participants