You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by nn...@apache.org on 2020/12/09 22:26:49 UTC

[geode] branch support/1.13 updated: GEODE-2644: Adding memberName to the log pattern (#5817)

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

nnag pushed a commit to branch support/1.13
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/support/1.13 by this push:
     new 3ae8736  GEODE-2644: Adding memberName to the log pattern (#5817)
3ae8736 is described below

commit 3ae87364255cf6b8fdec6e27325bdbbdecf2d76e
Author: Nabarun Nag <na...@users.noreply.github.com>
AuthorDate: Fri Dec 4 16:34:38 2020 -0800

    GEODE-2644: Adding memberName to the log pattern (#5817)
    
    (cherry picked from commit d38189e72d618bc523fb4b0502ed74beab861197)
---
 geode-log4j/src/main/resources/log4j2-cli.xml | 2 +-
 geode-log4j/src/main/resources/log4j2.xml     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/geode-log4j/src/main/resources/log4j2-cli.xml b/geode-log4j/src/main/resources/log4j2-cli.xml
index c1a0cf1..210b5d2 100644
--- a/geode-log4j/src/main/resources/log4j2-cli.xml
+++ b/geode-log4j/src/main/resources/log4j2-cli.xml
@@ -15,7 +15,7 @@
   -->
 <Configuration status="WARN" shutdownHook="disable" packages="org.apache.geode">
   <Properties>
-    <Property name="geode-pattern">[%level{lowerCase=true} %date{yyyy/MM/dd HH:mm:ss.SSS z} &lt;%thread&gt; tid=%hexTid] %message%n%throwable%n</Property>
+    <Property name="geode-pattern">[%level{lowerCase=true} %date{yyyy/MM/dd HH:mm:ss.SSS z} %memberName &lt;%thread&gt; tid=%hexTid] %message%n%throwable%n</Property>
   </Properties>
   <Appenders>
     <Console name="STDOUT" target="SYSTEM_OUT">
diff --git a/geode-log4j/src/main/resources/log4j2.xml b/geode-log4j/src/main/resources/log4j2.xml
index 5ecb42a..04a8493 100755
--- a/geode-log4j/src/main/resources/log4j2.xml
+++ b/geode-log4j/src/main/resources/log4j2.xml
@@ -15,7 +15,7 @@
   -->
 <Configuration status="WARN" shutdownHook="disable" packages="org.apache.geode">
   <Properties>
-    <Property name="geode-pattern">[%level{lowerCase=true} %date{yyyy/MM/dd HH:mm:ss.SSS z} &lt;%thread&gt; tid=%hexTid] %message%n%throwable%n</Property>
+    <Property name="geode-pattern">[%level{lowerCase=true} %date{yyyy/MM/dd HH:mm:ss.SSS z} %memberName &lt;%thread&gt; tid=%hexTid] %message%n%throwable%n</Property>
     <Property name="geode-default">true</Property>
   </Properties>
   <Appenders>