Mucous can be associated with bowel movements after an infection, and can last several weeks.
If it continues, you may want to ensure there is nothing persistent, by obtaining stool cultures.
Malabsorption or celiac disease can also be considered, and testing via specific stool and blood tests.
A colonoscopy to exclude inflammatory bowel disease can also be discussed as well.
These options can be discussed with your personal physician.
This answer is not intended as and does not substitute for medical advice - the information presented is for patient education only. Please see your personal physician for further evaluation of your individual case.
Kevin Pho, M.D.
KevinMD.com
Twitter.com/kevinmd