setting up some log action