trivial cleanup to use logger directly