log the body before parsing