Addition of log message for zero users beign loaded.
This commit is contained in:
@ -266,6 +266,14 @@ GWPROTOCOL *funcs;
|
|||||||
strncat(path, "/dbusers", 4096);
|
strncat(path, "/dbusers", 4096);
|
||||||
dbusers_save(service->users, path);
|
dbusers_save(service->users, path);
|
||||||
}
|
}
|
||||||
|
if (loaded == 0)
|
||||||
|
{
|
||||||
|
LOGIF(LE, (skygw_log_write_flush(
|
||||||
|
LOGFILE_ERROR,
|
||||||
|
"Service %s: failed to load any user "
|
||||||
|
"information. Authentication will "
|
||||||
|
"probably fail as a result.")));
|
||||||
|
}
|
||||||
|
|
||||||
/* At service start last update is set to USERS_REFRESH_TIME seconds earlier.
|
/* At service start last update is set to USERS_REFRESH_TIME seconds earlier.
|
||||||
* This way MaxScale could try reloading users' just after startup
|
* This way MaxScale could try reloading users' just after startup
|
||||||
|
|||||||
Reference in New Issue
Block a user