From e87ad4abb9daed8988f74ad133ef115b8e335f04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Fri, 17 Apr 2020 13:33:38 +0300 Subject: [PATCH] Log USE message on info level This tells us which server gets the USE command. --- server/modules/routing/schemarouter/schemaroutersession.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/server/modules/routing/schemarouter/schemaroutersession.cc b/server/modules/routing/schemarouter/schemaroutersession.cc index cd76d274e..6e3ac02ee 100644 --- a/server/modules/routing/schemarouter/schemaroutersession.cc +++ b/server/modules/routing/schemarouter/schemaroutersession.cc @@ -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