Log executed maxadmin commands on info log level

When maxadmin commands are executed, they are logged at the info
level. This should help when the admin interface is being debugged.
This commit is contained in:
Markus Mäkelä
2017-03-15 19:16:24 +02:00
parent a500bd4d79
commit a19c0ed1f3

View File

@ -271,6 +271,8 @@ execute(MXS_ROUTER *instance, MXS_ROUTER_SESSION *router_session, GWBUF *queue)
queue = gwbuf_consume(queue, GWBUF_LENGTH(queue));
}
MXS_INFO("MaxAdmin: %s", session->cmdbuf);
execute_cmd(session);
return 1;
}