Log a message for every online change

All changes made to the configuration should be traceable. This makes the
process of understanding the life-cycle of a specific MaxScale
installation easier.
This commit is contained in:
Markus Makela
2016-12-09 19:04:31 +02:00
parent 49aa23468d
commit 312cf69739
2 changed files with 13 additions and 8 deletions

View File

@ -829,7 +829,6 @@ server_update_credentials(SERVER *server, char *user, char *passwd)
if (user != NULL && passwd != NULL)
{
serverAddMonUser(server, user, passwd);
MXS_NOTICE("Updated monitor credentials for server '%s'", server->name);
}
}
@ -997,8 +996,6 @@ server_update_address(SERVER *server, char *address)
spinlock_acquire(&server_spin);
if (server && address)
{
MXS_NOTICE("Updated the address of server '%s' from '%s' to '%s'.",
server->unique_name, server->name, address);
strcpy(server->name, address);
}
spinlock_release(&server_spin);
@ -1017,8 +1014,6 @@ server_update_port(SERVER *server, unsigned short port)
spinlock_acquire(&server_spin);
if (server && port > 0)
{
MXS_NOTICE("Updated the port of server '%s' from %d to %d.",
server->unique_name, server->port, port);
server->port = port;
}
spinlock_release(&server_spin);