moved log from activity to app