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

restorableappengine: Log app start #365

Merged
merged 1 commit into from
Nov 22, 2024
Merged

restorableappengine: Log app start #365

merged 1 commit into from
Nov 22, 2024

Conversation

mike-sul
Copy link
Contributor

Print logs about an app start and successful completion.

Logs printed to stdout by processes/utilities spawned by aklite are supressed since some of the utilities do odd/crazy stuff in the std output which makes aklite logs messy. As drawback, it makes successful execution some of utilities invisible, in particular docker compose up which is an important to see in the logs. This change prints logs before starting an app and just after successfull execution, so it becomes visible when an app was started. Note: if an app start failure occurs, then aklite will add the stderr output of the command to the aklite's logs.

Print logs about an app start and successful completion.

Logs printed to stdout by processes/utilities spawned by aklite are
supressed since some of the utilities do odd/crazy stuff in the std
output which makes aklite logs messy. As drawback, it makes
successful execution some of utilities invisible, in particular
`docker compose up` which is an important to see in the logs.
This change prints logs before starting an app and just after
successfull execution, so it becomes visible when an app was started.
Note: if an app start failure occurs, then aklite will add the stderr
output of the command to the aklite's logs.

Signed-off-by: Mike Sul <[email protected]>
@mike-sul mike-sul merged commit 7a67f09 into master Nov 22, 2024
5 checks passed
@mike-sul mike-sul deleted the log-app-start branch November 22, 2024 09:13
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

Successfully merging this pull request may close these issues.

2 participants