use new logging mechanism