In application there are many situations where we are interested in studying the association between a binary dependent variable and functional covariates. This paper explains functional logistic regression based on wavelet expansion and LASSO penalization. The performance of the method has been discussed on lameness detection for horses.