Skip to content
Open icLens

Canister logs

Open a canister’s Timeline and choose Logs to read what it wrote.

Workspace What you see
An Agent workspace Every line the Agent collected, kept for as long as you choose, with a chart of lines and traps per minute.
This browser The canister’s current log buffer, read live as you.

A canister’s own log buffer is small and rotates quickly. An Agent keeps the lines after the buffer has moved on, so you can look back at last week.

Choose a level (info and up, warnings and up, errors and up, or traps) and type text to filter messages. Search ignores letter case unless you choose Match case.

The canister’s log visibility setting decides. It can allow controllers only, everyone, or a list of viewers.

  • For an Agent to collect logs, the canister must allow the Agent, and log collection must be on in Monitor.
  • To read live in this browser, sign in. The canister must allow you.

Change it in Settings and access.

  • Each line’s level comes from its text, such as ERROR or [TRAP].
  • If the buffer rotated before the Agent read it, the gap is shown, never hidden.
  • For searching across every canister, use Explore logs.
  • For logs your code sends directly, see Logs from your code.