[Minor] set default memory for jersey entity logging
This commit is contained in:
parent
7febff0de7
commit
a3b7a08aaf
|
@ -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);
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue