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

Log info on child return zero #1649

Merged
merged 2 commits into from
Sep 29, 2022
Merged

Log info on child return zero #1649

merged 2 commits into from
Sep 29, 2022

Conversation

eikenb
Copy link
Contributor

@eikenb eikenb commented Sep 29, 2022

Consul-template exits with the code of the child process exit, but it still logs it as an error when it isn't. This changes it to log that at INFO level instead.

Fixes #1282

Consul-template exits with the code of the child process exit, but it
still logs it as an error when it isn't. This changes it to log that at
INFO level instead.
Removed 'died' terminology as it is non-standard terminology and is
just wrong when the child exits successfully.
@eikenb eikenb added this to the v0.29.3 milestone Sep 29, 2022
@eikenb eikenb requested a review from a team September 29, 2022 23:26
@eikenb eikenb merged commit 7d21c8a into main Sep 29, 2022
@eikenb eikenb deleted the log-info-on-child-return-zero branch September 29, 2022 23:34
@eikenb eikenb added the bug label Sep 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Non-error exit from exec'd child process is logged as an error
1 participant