Added logging for body