Made some changes to log