Add log to mouse events