You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2018/09/20 22:04:44 UTC

logging-log4j2 git commit: [LOG4J2-2446] Add a Base64 string lookup (adapted from Apache Commons Text 1.5.) Documentation for base64 variable substitution.

Repository: logging-log4j2
Updated Branches:
  refs/heads/master 8097467f2 -> 47d2f975e


[LOG4J2-2446] Add a Base64 string lookup (adapted from Apache Commons
Text 1.5.) Documentation for base64 variable substitution.

Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/47d2f975
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/47d2f975
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/47d2f975

Branch: refs/heads/master
Commit: 47d2f975e6cbb8a23e3cd8a44007cd2b46fbe24c
Parents: 8097467
Author: Gary Gregory <gg...@rocketsoftware.com>
Authored: Thu Sep 20 16:04:41 2018 -0600
Committer: Gary Gregory <gg...@rocketsoftware.com>
Committed: Thu Sep 20 16:04:41 2018 -0600

----------------------------------------------------------------------
 src/site/asciidoc/manual/configuration.adoc | 13 +++++++++++++
 1 file changed, 13 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/47d2f975/src/site/asciidoc/manual/configuration.adoc
----------------------------------------------------------------------
diff --git a/src/site/asciidoc/manual/configuration.adoc b/src/site/asciidoc/manual/configuration.adoc
index aef2a6b..f0850a9 100644
--- a/src/site/asciidoc/manual/configuration.adoc
+++ b/src/site/asciidoc/manual/configuration.adoc
@@ -1057,6 +1057,19 @@ that are built in to Logj4 are:
 |===
 |Prefix |Context
 
+              <tr>
+                <td>base64</td>
+                <td>
+                  Base64 encoded data. The format is <code>${dollar}{base64:Base64_encoded_data}</code>.
+                  For example:
+                  <code>${dollar}{base64:SGVsbG8gV29ybGQhCg==}</code> yields <code>Hello World!</code>.
+                </td>
+              </tr>
+
+|base64
+|Base64 encoded data. The format is `${base64:Base64_encoded_data}`.
+For example: `${base64:SGVsbG8gV29ybGQhCg==}` yields `Hello World!`.
+
 |bundle
 |Resource bundle. The format is `${bundle:BundleName:BundleKey}`.
 The bundle name follows package naming conventions, for example: