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

Support logging to syslog/file #1230

Closed
ananace opened this issue Oct 4, 2021 · 1 comment · Fixed by #1231
Closed

Support logging to syslog/file #1230

ananace opened this issue Oct 4, 2021 · 1 comment · Fixed by #1231
Labels

Comments

@ananace
Copy link
Contributor

ananace commented Oct 4, 2021

Use Case

When triggering R10k deployments from remote scripts or pipelines, there's no supported method to locally see the output if something fails.

Describe the Solution You Would Like

Adding support for specifying that R10k should output logging onto syslog or to a file either instead of or in addition to stdout would allow for a local sysadmin to read through the logs from a triggered run.

Describe Alternatives You've Considered

Creating local wrappers that pipe r10k output into syslog or file could be used, though it would require either owning every location where a call could occur from, or by replacing all r10k binaries with wrappers.

@mwaggett
Copy link
Contributor

mwaggett commented Oct 5, 2021

hey @ananace thanks for opening this! Unfortunately, it's not likely that we will get to this feature, since we have no use for it internally, but we're happy to review and help with a PR if you wanted to implement this feature yourself!

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