Wrong password save in logfile

Hi

First, sry for my bad english.

I would save a Wrong Password in my logfile.

I have found this: ast_log(LOG_NOTICE, "Registration from '%s' failed for '%s' - %s\n - %s", get_header(req, "To"), ast_inet_ntoa(sin->sin_addr), reason, here wrong password);

but i didnt find the variable for password input.Maybe char *secret[80]??

Can anyone help me?