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

Add the documentation for debugging #2382

Merged
merged 1 commit into from
Sep 25, 2023
Merged

Conversation

utam0k
Copy link
Member

@utam0k utam0k commented Sep 24, 2023

No description provided.

@utam0k utam0k requested a review from a team September 24, 2023 11:25
@utam0k utam0k force-pushed the doc-bpftrace branch 2 times, most recently from 396a0eb to e4449c7 Compare September 24, 2023 11:32
Signed-off-by: utam0k <k0ma@utam0k.jp>
@yihuaf
Copy link
Collaborator

yihuaf commented Sep 24, 2023

Just to add that another way is to send the youki logs to systemd. This will let systemd capture all the logs from different processes in the case that stdout fails. youki as a binary supports this out of box, but libcontainer needs caller to configure this correctly.

Copy link
Collaborator

@YJDoc2 YJDoc2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, and as yihuaf said, it'd good to add the systemd info as well

@utam0k
Copy link
Member Author

utam0k commented Sep 25, 2023

Just to add that another way is to send the youki logs to systemd. This will let systemd capture all the logs from different processes in the case that stdout fails. youki as a binary supports this out of box, but libcontainer needs caller to configure this correctly.

@yihuaf
You have more knowledge about it than me around using systemd info so could you add the documentation? Of course, I'm looking forward to the doc you wrote to know another way to debug.

@utam0k utam0k merged commit ceb41e1 into youki-dev:main Sep 25, 2023
13 checks passed
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.

3 participants