Add log and check Context in Cobalt