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

Logging for failed import (of runtime_client) #130

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

unacceptable
Copy link

_Issue #, if available: #22

_Description of changes: Adding logging for failed import (due to missing libraries). Tested locally in docker via https://pip.pypa.io/en/stable/topics/vcs-support/

_Target (OCI, Managed Runtime, both): Managed Runtime

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@unacceptable
Copy link
Author

I didn't see clear examples on how the logging works. This is an example error message:

CRITICAL:root:Failed to import "runtime_client" cpp file. Error loading shared library libzstd.so.1: No such file or directory (needed by /app/runtime_client.cpython-312-x86_64-linux-musl.so)

I would love to standardize this after getting some guidance.

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.

1 participant