Mucus in baby’s poo

So this has happened today twice ...does anyone know what and why? He’s currently on kefelexin for a UTI but this has happened today but not before ?