The most important thing for logistic regression is to have 5 to 10 events for each explanatory variable.
Example: if you have a variable to explain for N= 54 patients and 3 explanatory variables:
Var1 = numerical age counts as 1
Var2 = processing yes/no counts as 1
Var3 = occupational category (n = 8 ) counts as 7
So you must have: (1+1+7) x 5 = 45 < 54 patients (limit)
(1+1+7) x10=90 < 54 patients (not good at all) You have to think carefully before validating the model.
Hope this can help you.