Oops, use debug() rather than log().