Is there anything that needs to be configured to activate the canister logging in a local replica?
I upgraded my Docker image with the proposed release (thread, PR) but, not logs are collected. Neither ic_cdk::print
nor trap
are delivered when querying the IC mgmt end point fetch_canister_logs
, I just get an empty array.
pub fn list_docs(collection: CollectionKey, filter: ListParams) -> ListResults<Doc> {
let caller = caller();
print("test"); // <------ This is not provided
let result = list_docs_store(caller, collection, &filter);
match result {
Ok(value) => value,
Err(error) => trap(&error), // <------ This is not provider neither
}
}