Update logging calls to the match the stdlib logging