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 { ...@@ -194,19 +194,6 @@ class UiNarrativeBuilder {
194 if (navigation.isEmpty()) { 194 if (navigation.isEmpty()) {
195 def parentPath = getParentPath(currentPath) 195 def parentPath = getParentPath(currentPath)
196 if (parentPath) { 196 if (parentPath) {
197 navigation << "To go back, call moqui_render_screen(path='${parentPath}')."
198 }
199 }
200
201 return navigation
202 }
203 }
204 }
205 }
206
207 if (navigation.isEmpty()) {
208 def parentPath = getParentPath(currentPath)
209 if (parentPath) {
210 navigation << "To go back, call moqui_browse_screens(path='${parentPath}')." 197 navigation << "To go back, call moqui_browse_screens(path='${parentPath}')."
211 } 198 }
212 } 199 }
......
...@@ -57,7 +57,7 @@ class VisitBasedMcpSession implements MoquiMcpTransport { ...@@ -57,7 +57,7 @@ class VisitBasedMcpSession implements MoquiMcpTransport {
57 metadata.mcpMessageCount = 0 57 metadata.mcpMessageCount = 0
58 saveSessionMetadata(metadata) 58 saveSessionMetadata(metadata)
59 59
60 logger.info("MCP Session initialized for Visit ${visit.visitId}") 60 logger.debug("MCP Session initialized for Visit ${visit.visitId}")
61 } 61 }
62 } catch (Exception e) { 62 } catch (Exception e) {
63 logger.warn("Failed to initialize MCP session for Visit ${visit.visitId}: ${e.message}") 63 logger.warn("Failed to initialize MCP session for Visit ${visit.visitId}: ${e.message}")
...@@ -92,7 +92,7 @@ class VisitBasedMcpSession implements MoquiMcpTransport { ...@@ -92,7 +92,7 @@ class VisitBasedMcpSession implements MoquiMcpTransport {
92 } 92 }
93 93
94 closing.set(true) 94 closing.set(true)
95 logger.info("Gracefully closing MCP session ${visit.visitId}") 95 logger.debug("Gracefully closing MCP session ${visit.visitId}")
96 96
97 try { 97 try {
98 // Send graceful shutdown notification 98 // Send graceful shutdown notification
...@@ -117,7 +117,7 @@ class VisitBasedMcpSession implements MoquiMcpTransport { ...@@ -117,7 +117,7 @@ class VisitBasedMcpSession implements MoquiMcpTransport {
117 return // Already closed 117 return // Already closed
118 } 118 }
119 119
120 logger.info("Closing MCP session ${visit.visitId} (messages sent: ${messageCount.get()})") 120 logger.debug("Closing MCP session ${visit.visitId} (messages sent: ${messageCount.get()})")
121 121
122 try { 122 try {
123 // Send final close event if writer is still available 123 // Send final close event if writer is still available
......