97d2dc76 by Ean Schuessler

Reduce servlet logging verbosity from INFO to DEBUG

Move verbose per-request logging (request body, session management,
SSE connections, method processing) from INFO to DEBUG level.
Keep INFO for significant events like new Visit creation.
1 parent a1719c3a
......@@ -194,19 +194,6 @@ class UiNarrativeBuilder {
if (navigation.isEmpty()) {
def parentPath = getParentPath(currentPath)
if (parentPath) {
navigation << "To go back, call moqui_render_screen(path='${parentPath}')."
}
}
return navigation
}
}
}
}
if (navigation.isEmpty()) {
def parentPath = getParentPath(currentPath)
if (parentPath) {
navigation << "To go back, call moqui_browse_screens(path='${parentPath}')."
}
}
......
......@@ -57,7 +57,7 @@ class VisitBasedMcpSession implements MoquiMcpTransport {
metadata.mcpMessageCount = 0
saveSessionMetadata(metadata)
logger.info("MCP Session initialized for Visit ${visit.visitId}")
logger.debug("MCP Session initialized for Visit ${visit.visitId}")
}
} catch (Exception e) {
logger.warn("Failed to initialize MCP session for Visit ${visit.visitId}: ${e.message}")
......@@ -92,7 +92,7 @@ class VisitBasedMcpSession implements MoquiMcpTransport {
}
closing.set(true)
logger.info("Gracefully closing MCP session ${visit.visitId}")
logger.debug("Gracefully closing MCP session ${visit.visitId}")
try {
// Send graceful shutdown notification
......@@ -117,7 +117,7 @@ class VisitBasedMcpSession implements MoquiMcpTransport {
return // Already closed
}
logger.info("Closing MCP session ${visit.visitId} (messages sent: ${messageCount.get()})")
logger.debug("Closing MCP session ${visit.visitId} (messages sent: ${messageCount.get()})")
try {
// Send final close event if writer is still available
......