Fail2Ban and WebDav

Hi!

I want to setup fail2ban on my nextcloud (apache) installation. Primary to protect the WebDav access (user : app key)

While the setup of fail2ban is well documented I’ve noticed that failed WebDav access attempts are not logged in the nextcloud.log file while failed WebUI access attempts are.

An approach would be to use the Apache log files for fail2ban but it seems to be more tricky.

How did you solved this?

Regards