This fixes the bug where the detailed query classification info was only logged when LOG_INFO was globally enabled.