You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by vy...@apache.org on 2020/08/20 13:56:04 UTC

[logging-log4j2] branch master updated (22c1f39 -> 86f3653)

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

vy pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git.


    from 22c1f39  LOG4J2-2847 Extend Log4j-config.xsd (#360)
     new 21df99b  #335 Fix code typo in EnhancedGelf.json.
     new 86f3653  #335 Small fixes in the manual.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../src/main/resources/EnhancedGelf.json                         | 5 ++---
 src/site/asciidoc/manual/json-template-layout.adoc               | 9 ++++-----
 2 files changed, 6 insertions(+), 8 deletions(-)


[logging-log4j2] 02/02: #335 Small fixes in the manual.

Posted by vy...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

vy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git

commit 86f36534cda6a1415aa5e3cf3f9832aebc9428f2
Author: Volkan Yazıcı <vo...@gmail.com>
AuthorDate: Thu Aug 20 15:52:16 2020 +0200

    #335 Small fixes in the manual.
---
 src/site/asciidoc/manual/json-template-layout.adoc | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/site/asciidoc/manual/json-template-layout.adoc b/src/site/asciidoc/manual/json-template-layout.adoc
index 92ec635..f520796 100644
--- a/src/site/asciidoc/manual/json-template-layout.adoc
+++ b/src/site/asciidoc/manual/json-template-layout.adoc
@@ -563,7 +563,7 @@ Resolve the logger's fully qualified class name:
 }
 ----
 
-| main:<key>
+| main
 a|
 [source]
 ----
@@ -1126,7 +1126,7 @@ alternatives.
 | None
 | None
 
-| Full schema customization?
+| Schema customization?
 | ✓
 | ✕
 | ✕
@@ -1168,7 +1168,7 @@ alternatives.
 | ✕
 | ✕
 
-| Additional fields?
+| Additional field support?
 | ✓
 | ✓
 | ✓
@@ -1202,8 +1202,7 @@ enabled. Take into account the following caveats:
   garbage-free except for certain types (e.g., `BigDecimal`, `BigInteger`,
   ``Collection``s with the exception of `List`).
 
-* link:lookups.html[Lookups] (that is, `${...}` variables, excluding
-  `${json:...}` ones) are not garbage-free.
+* link:lookups.html[Lookups] (that is, `${...}` variables) are not garbage-free.
 
 Don't forget to checkout link:#event-template-resolvers[the notes on garbage footprint of resolvers]
 you employ in templates.


[logging-log4j2] 01/02: #335 Fix code typo in EnhancedGelf.json.

Posted by vy...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

vy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git

commit 21df99bf496ef043c1d78efd2978ce4c1f8005da
Author: Volkan Yazıcı <vo...@gmail.com>
AuthorDate: Thu Aug 20 15:51:54 2020 +0200

    #335 Fix code typo in EnhancedGelf.json.
---
 .../src/main/resources/EnhancedGelf.json                             | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/src/main/resources/EnhancedGelf.json b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/src/main/resources/EnhancedGelf.json
index 994b0c7..feaf3e0 100644
--- a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/src/main/resources/EnhancedGelf.json
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/src/main/resources/EnhancedGelf.json
@@ -6,9 +6,8 @@
     "stringified": true
   },
   "full_message": {
-    "$resolver": "message",
-    "pattern": "[%t] %-5p %X{requestId, sessionId, loginId, userId, ipAddress, corpAcctNumber} %C{1.}.%M:%L - %m",
-    "stringified": true
+    "$resolver": "pattern",
+    "pattern": "[%t] %-5p %X{requestId, sessionId, loginId, userId, ipAddress, corpAcctNumber} %C{1.}.%M:%L - %m"
   },
   "timestamp": {
     "$resolver": "timestamp",