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

Incomplete application logs when using -appcmd #39

Open
jalaziz opened this issue Oct 31, 2023 · 1 comment
Open

Incomplete application logs when using -appcmd #39

jalaziz opened this issue Oct 31, 2023 · 1 comment

Comments

@jalaziz
Copy link
Contributor

jalaziz commented Oct 31, 2023

While testing nitriding with -appcmd, I noticed the the application logs were inconsistent on every run (even though the application was failing for the same reason each run). If an application dies quickly, it appears that nitriding can exit before all the application logs are printed.

Looking at the source code, I believe this may because stdout and stderr and streamed via a goroutine, but the routines are not waited on before nitriding exits.

@rillian
Copy link
Contributor

rillian commented Nov 7, 2023

Sounds plausible.

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

2 participants