Dfx 0.18.0 -> dfx canister logs <canister-name> not working

when i call dfx canister logs <my-canister-name> i get the following error

Error: Failed to get canister logs of bkyz2-fmaaa-aaaaa-qaaaq-cai.
Caused by: Failed to get canister logs of bkyz2-fmaaa-aaaaa-qaaaq-cai.
  Failed to call update function 'fetch_canister_logs' regarding canister 'bkyz2-fmaaa-aaaaa-qaaaq-cai'.
    Update call (without wallet) failed.
      The replica returned a replica error: reject code CanisterReject, reject message fetch_canister_logs API is only accessible in non-replicated mode, error code Some("IC0516")

image

Is this ready to go?!?!

Hi fred.

Thanks for trying out the new subcommand. The feature is in active development and we mark it as “preview” in the release note.

The issue you encountered is noticed and a fix PR is pending here.

2 Likes

Where is this new (I assume) mgmt canister query method fetch_canister_logs documented?

Will you guys be creating a new release for this over the weekend or next week?

Documentation of the specification happens to be currently in review: https://github.com/dfinity/interface-spec/pull/263