[java-identity-provider] 02/02: IDP-1564 - Velocity status page error not being filtered as expected

Scott Cantor cantor.2 at osu.edu
Mon Jun 22 15:04:12 UTC 2020


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

scantor pushed a commit to branch maint-3.4
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=201c3793fb19daa116cdab51ede3264d33da9708

commit 201c3793fb19daa116cdab51ede3264d33da9708
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Feb 27 08:58:25 2020 -0500

    IDP-1564 - Velocity status page error not being filtered as expected
    
    https://issues.shibboleth.net/jira/browse/IDP-1564
    
    Also adjusted stack length in process vs. warn logs.
---
 idp-conf/src/main/resources/conf/logback.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/idp-conf/src/main/resources/conf/logback.xml b/idp-conf/src/main/resources/conf/logback.xml
index cda207e12..859877160 100644
--- a/idp-conf/src/main/resources/conf/logback.xml
+++ b/idp-conf/src/main/resources/conf/logback.xml
@@ -90,7 +90,7 @@
             <evaluator>
                 <matcher>
                     <Name>VelocityStatusMatcher</Name>
-                    <regex>ResourceManager : unable to find resource 'status.vm' in any resource loader.</regex>
+                    <regex>ResourceManager\s*: unable to find resource 'status\.vm' in any resource loader\.</regex>
                 </matcher>
                 <expression>VelocityStatusMatcher.matches(formattedMessage)</expression>
             </evaluator>
@@ -118,7 +118,7 @@
         
         <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
             <charset>UTF-8</charset>
-            <Pattern>%date{ISO8601} - %mdc{idp.remote_addr} - %level [%logger:%line] - %msg%n%ex{short}</Pattern>
+            <Pattern>%date{ISO8601} - %mdc{idp.remote_addr} - %level [%logger:%line] - %msg%n%ex{full}</Pattern>
         </encoder>
         
         <!-- Ignore Velocity status page error. -->
@@ -126,7 +126,7 @@
             <evaluator>
                 <matcher>
                     <Name>VelocityStatusMatcher</Name>
-                    <regex>ResourceManager : unable to find resource 'status.vm' in any resource loader.</regex>
+                    <regex>ResourceManager\s*: unable to find resource 'status\.vm' in any resource loader\.</regex>
                 </matcher>
                 <expression>VelocityStatusMatcher.matches(formattedMessage)</expression>
             </evaluator>

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


More information about the commits mailing list