Add logging for actions