Skip to content

feat: canister logs extensions#252

Draft
mraszyk wants to merge 5 commits into
mainfrom
mraszyk/canister-logs
Draft

feat: canister logs extensions#252
mraszyk wants to merge 5 commits into
mainfrom
mraszyk/canister-logs

Conversation

@mraszyk
Copy link
Copy Markdown

@mraszyk mraszyk commented May 13, 2026

Canister logs extensions:

  • log_memory_limit setting — Added as a new canister settings field (type nat, max 2 MiB, default 4096 bytes).
  • log_memory_store_size — Added to the result of canister_status memory metrics, exposing how much memory canister logs currently consume.
  • fetch_canister_logs is now callable by canisters — Previously restricted to external users via query calls only; now also callable by canisters via replicated calls.
  • Log filtering — arguments to fetch_canister_logs gain an optional filter field supporting two variants: by_idx (range of log indices) and by_timestamp_nanos (range of timestamps).

@github-actions github-actions Bot added the interface-spec Changes to the IC interface specification label May 13, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 13, 2026

🤖 Here's your preview: https://kwnd6-zaaaa-aaaam-ai7va-cai.icp0.io

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

interface-spec Changes to the IC interface specification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant