[Minor] set default memory for jersey entity logging

This commit is contained in:
Reto Breitenmoser 2017-05-30 14:26:03 +02:00
parent 7febff0de7
commit a3b7a08aaf
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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");