Improved log entries for writeAssignment