Adding log statements to check slug size.