Log cached credentials path

Logging the path to the cached credentials should help to the user if
stale cache files are used.
This commit is contained in:
Markus Makela
2016-10-21 14:54:45 +03:00
parent a4a7e806d0
commit aa20385347

View File

@ -925,7 +925,7 @@ static int mysql_auth_load_users(SERV_LISTENER *port)
}
else
{
MXS_WARNING("Using cached credential information.");
MXS_WARNING("[%s] Using cached credential information from '%s'.", service->name, path);
}
if (instance->inject_service_user)
@ -945,6 +945,7 @@ static int mysql_auth_load_users(SERV_LISTENER *port)
{
strcat(path, DBUSERS_FILE);
dbusers_save(port->users, path);
MXS_INFO("[%s] Storing cached credential information at '%s'.", service->name, path);
}
}