logging enhancments