On an auth failure the uid and the IP address should be logged to the standard log file.
  This update works for a standard setup, when using a proxy for the server one can probably use the X-forwarded-for header
  instead of the remote address.
Changed default behaviour to not log IP address in case of an auth failure. Can be configured in OC conf now.
Log level changed to warning .
Added the config option to log ip addresses , default false
changed the argument to false for getValue , reformated else statement
Merge pull request #4780 from AxelRb/master

On an auth failure the uid and the IP address should be logged to the st...