'django-auth-ldap - modify debug messages / adding IP adress

Is it possible to somehow modify django-auth-ldap messages logged in log? I need to log IP adress alongside user if login failed:

2022-05-17 12:54:08 [DEBUG] Authentication failed for yyyyy: failed to map the username to a DN.
2022-05-17 12:54:32 [DEBUG] Authentication failed for xxxxx: user DN/password rejected by LDAP server.


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source