CFY-974 use ctx logger where possible, use standard logger otherwise