logging enhanced