[java-idp-integration-tests] 02/03: Update logback.xml modifications

Tom Zeller tzeller at dragonacea.biz
Fri Jan 12 14:35:50 UTC 2024


This is an automated email from the git hooks/post-receive script.

tzeller pushed a commit to branch main
in repository java-idp-integration-tests.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-integration-tests.git;a=commit;h=6b8ec9020cc16dbd8b0c74f033e679740b0bdf32

commit 6b8ec9020cc16dbd8b0c74f033e679740b0bdf32
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Thu Jan 11 10:39:54 2024 -0600

    Update logback.xml modifications
---
 .../shibboleth/idp/integration/tests/BaseIntegrationTest.java    | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/test/java/net/shibboleth/idp/integration/tests/BaseIntegrationTest.java b/src/test/java/net/shibboleth/idp/integration/tests/BaseIntegrationTest.java
index 126ed1c..f685d70 100644
--- a/src/test/java/net/shibboleth/idp/integration/tests/BaseIntegrationTest.java
+++ b/src/test/java/net/shibboleth/idp/integration/tests/BaseIntegrationTest.java
@@ -1515,12 +1515,13 @@ public abstract class BaseIntegrationTest {
      */
     public void logUnencryptedSAML() throws IOException {
         final Path pathToLogbackXML = Paths.get("conf", "logback.xml");
-        final String oldMessagesText = "<variable name=\"idp.loglevel.messages\" value=\"INFO\" />";
-        final String newMessagesText = "<variable name=\"idp.loglevel.messages\" value=\"DEBUG\" />";
+        
+        final String oldMessagesText = "idp.loglevel.messages:-INFO";
+        final String newMessagesText = "idp.loglevel.messages:-DEBUG";
         replaceIdPHomeFile(pathToLogbackXML, oldMessagesText, newMessagesText);
         
-        final String oldEncryptionText = "<variable name=\"idp.loglevel.encryption\" value=\"INFO\" />";
-        final String newEncryptionText = "<variable name=\"idp.loglevel.encryption\" value=\"DEBUG\" />";
+        final String oldEncryptionText = "idp.loglevel.encryption:-INFO";
+        final String newEncryptionText = "idp.loglevel.encryption:-DEBUG";
         replaceIdPHomeFile(pathToLogbackXML, oldEncryptionText, newEncryptionText);
     }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list