[java-identity-provider] branch master updated: IDP-1255 - Get IP address into the process log by default

Scott Cantor cantor.2 at osu.edu
Wed Feb 7 16:07:09 EST 2018


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

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

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

The following commit(s) were added to refs/heads/master by this push:
       new  2d4a318   IDP-1255 - Get IP address into the process log by default
2d4a318 is described below

commit 2d4a318bb9e3ef25e45db53920fdb9e6409e7986
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Feb 7 16:07:07 2018 -0500

    IDP-1255 - Get IP address into the process log by default
    
    https://issues.shibboleth.net/jira/browse/IDP-1255
---
 idp-conf/src/main/resources/conf/logback.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/idp-conf/src/main/resources/conf/logback.xml b/idp-conf/src/main/resources/conf/logback.xml
index 1d55547..cda207e 100644
--- a/idp-conf/src/main/resources/conf/logback.xml
+++ b/idp-conf/src/main/resources/conf/logback.xml
@@ -82,7 +82,7 @@
 
         <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
             <charset>UTF-8</charset>
-            <Pattern>%date{ISO8601} - %level [%logger:%line] - %msg%n%ex{short}</Pattern>
+            <Pattern>%date{ISO8601} - %mdc{idp.remote_addr} - %level [%logger:%line] - %msg%n%ex{short}</Pattern>
         </encoder>
 
         <!-- Ignore Velocity status page error. -->
@@ -118,7 +118,7 @@
         
         <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
             <charset>UTF-8</charset>
-            <Pattern>%date{ISO8601} - %level [%logger:%line] - %msg%n%ex{short}</Pattern>
+            <Pattern>%date{ISO8601} - %mdc{idp.remote_addr} - %level [%logger:%line] - %msg%n%ex{short}</Pattern>
         </encoder>
         
         <!-- Ignore Velocity status page error. -->

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


More information about the commits mailing list