enchanced logging