adapt new logging scheme