Originally posted by **wforumw** October 21, 2024
Hi,
We use fail2ban to block unwanted IP's. When an IP is blocked by a rule it is logged in NPM log files like
`[error] 208#208: *1046 access forbidden by rule, client: x.x.x.x, server: npmservr, request: "GET /api/ HTTP/2.0", host: "npmservr", referrer: "npmservr"`
so it is easy to filter these by fail2ban.
Now when a login is unauthorized, on the website we get
`Invalid password`
or
`No relevant user found`
but nothing is logged in the NPM log files.
Is there a way to get these logged also?
Thanks!
Discussed in https://github.com/NginxProxyManager/nginx-proxy-manager/discussions/4096