Hi,
You need to check the XML configuration you have made, check if you have committed exact same property name and number for your need.
For what I see, it should be
<MaxNumberOfLogFiles>3</MaxNumberOfLogFiles>
Instead of "MaxNumberFiles"
Regards,
Lukas