preparing log actions