Added logging in SGL