Added a log in Activity