some refactoring in log
allow attaching logentries with different actionTypes
e.g. Item-Insert & Item-Remove