Improved item logging