we are using a system to allow users to change their passwords via (preauthenticated) requests like https://ourserver.com/change_password?user=USERNAME&new_pass=PASSWORD.
For convenience we would like to log the first part of the query (a user tried to change their password), but for security reasons not the password itself.
I have stumbled upon 'SetEnvIf RequestUri "^change_password"', but I only figured out, how to completely remove the entry in the access.log. Any hints of how to achieve the goal described above are very appreciated.
Thanks, Martin
Edit: I stumbled upon Custom Log Formats %q as well, but there I can only remove both the parameters - which leads to the same (possible) inconvenience as removing the log entry alltogether.