use new logging functions in new code