Skip to content

feat: Improve 'dfx canister logs' with several options #4208

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

Merged
merged 13 commits into from
Apr 15, 2025

Conversation

vincent-dfinity
Copy link
Contributor

@vincent-dfinity vincent-dfinity commented Apr 14, 2025

Description

Improve 'dfx canister logs' with several options:

  • specify --tail and -N to show the last N lines of the logs
  • specify --since to show the logs newer than a relative duration
  • specify --since-time to show the logs newer than a specific timestamp.

Fixes # (issue)
SDK-1671
SDK-1672

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration.

Checklist:

  • The title of this PR complies with Conventional Commits.
  • I have edited the CHANGELOG accordingly.
  • I have made corresponding changes to the documentation.

@vincent-dfinity vincent-dfinity marked this pull request as ready for review April 14, 2025 14:57
@vincent-dfinity vincent-dfinity requested a review from a team as a code owner April 14, 2025 14:57
Co-authored-by: Severin Siffert <severin.siffert@dfinity.org>
@vincent-dfinity vincent-dfinity enabled auto-merge (squash) April 15, 2025 09:34
@vincent-dfinity vincent-dfinity merged commit 08da48c into master Apr 15, 2025
177 checks passed
@vincent-dfinity vincent-dfinity deleted the vincent/SDK-1670 branch April 15, 2025 10:03
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