You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by sv...@apache.org on 2022/04/01 07:50:05 UTC

[wicket] branch wicket-9.x updated: WICKET-6966 do not record session size by default

This is an automated email from the ASF dual-hosted git repository.

svenmeier pushed a commit to branch wicket-9.x
in repository https://gitbox.apache.org/repos/asf/wicket.git


The following commit(s) were added to refs/heads/wicket-9.x by this push:
     new a37fecc  WICKET-6966 do not record session size by default
a37fecc is described below

commit a37fecc1c4302b6895dcd9084b628cc1d65e2bf8
Author: Sven Meier <sv...@apache.org>
AuthorDate: Fri Apr 1 09:31:38 2022 +0200

    WICKET-6966 do not record session size by default
    
    if request logging is enabled
---
 .../main/java/org/apache/wicket/settings/RequestLoggerSettings.java  | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/wicket-core/src/main/java/org/apache/wicket/settings/RequestLoggerSettings.java b/wicket-core/src/main/java/org/apache/wicket/settings/RequestLoggerSettings.java
index a62d1a5..112c65e 100644
--- a/wicket-core/src/main/java/org/apache/wicket/settings/RequestLoggerSettings.java
+++ b/wicket-core/src/main/java/org/apache/wicket/settings/RequestLoggerSettings.java
@@ -28,11 +28,12 @@ package org.apache.wicket.settings;
  */
 public class RequestLoggerSettings
 {
-	private boolean recordSessionSize = true;
+	private boolean requestLoggerEnabled = false;
+
+	private boolean recordSessionSize = false;
 
 	private int requestsWindowSize = 0;
 
-	private boolean requestLoggerEnabled;
 
 	/**
 	 * @return true if the session size is recorded. (default true)