From a3b7a08aafc14e79bb07bcad4e0e237ee5821926 Mon Sep 17 00:00:00 2001 From: Reto Breitenmoser Date: Tue, 30 May 2017 14:26:03 +0200 Subject: [PATCH] [Minor] set default memory for jersey entity logging --- .../li/strolch/rest/inspector/test/AbstractRestfulTest.java | 2 +- .../li/strolch/minimal/rest/resources/RestfulApplication.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/li.strolch.rest/src/test/java/li/strolch/rest/inspector/test/AbstractRestfulTest.java b/li.strolch.rest/src/test/java/li/strolch/rest/inspector/test/AbstractRestfulTest.java index c438d7dec..53bd6fe00 100644 --- a/li.strolch.rest/src/test/java/li/strolch/rest/inspector/test/AbstractRestfulTest.java +++ b/li.strolch.rest/src/test/java/li/strolch/rest/inspector/test/AbstractRestfulTest.java @@ -93,7 +93,7 @@ public abstract class AbstractRestfulTest extends JerseyTest { LoggingFeature loggingFeature = new LoggingFeature( java.util.logging.Logger.getLogger(LoggingFeature.DEFAULT_LOGGER_NAME), Level.SEVERE, - LoggingFeature.Verbosity.PAYLOAD_ANY, Integer.MAX_VALUE); + LoggingFeature.Verbosity.PAYLOAD_ANY, null); resourceConfig.register(loggingFeature); resourceConfig.property(ServerProperties.TRACING, TracingConfig.ALL.name()); resourceConfig.property(ServletProperties.FILTER_FORWARD_ON_404, true); diff --git a/strolch_minimal_rest/src/main/java/li/strolch/minimal/rest/resources/RestfulApplication.java b/strolch_minimal_rest/src/main/java/li/strolch/minimal/rest/resources/RestfulApplication.java index 60d6ed390..646acb631 100644 --- a/strolch_minimal_rest/src/main/java/li/strolch/minimal/rest/resources/RestfulApplication.java +++ b/strolch_minimal_rest/src/main/java/li/strolch/minimal/rest/resources/RestfulApplication.java @@ -39,7 +39,7 @@ public class RestfulApplication extends ResourceConfig { LoggingFeature loggingFeature = new LoggingFeature( java.util.logging.Logger.getLogger(LoggingFeature.DEFAULT_LOGGER_NAME), Level.SEVERE, - LoggingFeature.Verbosity.PAYLOAD_ANY, Integer.MAX_VALUE); + LoggingFeature.Verbosity.PAYLOAD_ANY, null); register(loggingFeature); property(ServerProperties.TRACING, "ALL");