Log USE message on info level

This tells us which server gets the USE command.
This commit is contained in:
Markus Mäkelä 2020-04-17 13:33:38 +03:00
parent 9efd33186d
commit e87ad4abb9
No known key found for this signature in database
GPG Key ID: 5CE746D557ACC499

View File

@ -949,10 +949,8 @@ bool SchemaRouterSession::handle_default_db()
&& (backend = get_bref_from_dcb(dcb)))
{
backend->write(buffer);
MXS_DEBUG("USE '%s' sent to %s for session %p",
m_connect_db.c_str(),
target->name(),
m_client->session);
MXS_INFO("USE '%s' sent to %s for session %p",
m_connect_db.c_str(), target->name(), m_client->session);
rval = true;
}
else