MLE of median of rayleigh distribution

Okay... so I know that the median is sigma*ln(sqrt4), but I don't know how to derive it. Any help?