Skip to content

Commit 1a64723

Browse files
committed
Fix: #23499 Disable logging of requests
1 parent 4c6f403 commit 1a64723

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/main/java/eu/openanalytics/containerproxy/ContainerProxyApplication.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ private static void setDefaultProperties(SpringApplication app ) {
140140
// disable multi-part handling by Spring. We don't need this anywhere in the application.
141141
// When enabled this will cause problems when proxying file-uploads to the shiny apps.
142142
properties.put("spring.servlet.multipart.enabled", "false");
143+
144+
// disable logging of requests, since this reads part of the requests and therefore undertow is unable to correctly handle those requests
145+
properties.put("logging.level.org.springframework.web.servlet.DispatcherServlet", "INFO");
143146
app.setDefaultProperties(properties);
144147
}
145148

0 commit comments

Comments
 (0)