You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by mi...@apache.org on 2016/08/03 11:34:10 UTC
[20/28] logging-log4j2 git commit: LOG4J2-1199 Document that JVM
Input Arguments Lookup (JMX) is not available on Google App Engine.
LOG4J2-1199 Document that JVM Input Arguments Lookup (JMX) is not available on Google App Engine.
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/5ae1f3fe
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/5ae1f3fe
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/5ae1f3fe
Branch: refs/heads/LOG4J-1181
Commit: 5ae1f3feeb96c044294004daf2bead9c8f6b2588
Parents: 8803998
Author: rpopma <rp...@apache.org>
Authored: Sun Jul 31 16:36:05 2016 +0900
Committer: rpopma <rp...@apache.org>
Committed: Sun Jul 31 16:36:05 2016 +0900
----------------------------------------------------------------------
src/changes/changes.xml | 3 +++
src/site/xdoc/manual/lookups.xml | 18 +++++++++---------
2 files changed, 12 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/5ae1f3fe/src/changes/changes.xml
----------------------------------------------------------------------
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index da03a3e..b451094 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -24,6 +24,9 @@
</properties>
<body>
<release version="2.7" date="2016-MM-DD" description="GA Release 2.7">
+ <action issue="LOG4J2-1199" dev="rpopma" type="fix">
+ Document that JVM Input Arguments Lookup (JMX) is not available on Google App Engine.
+ </action>
<action issue="LOG4J2-1438" dev="rpopma" type="fix">
(GC) Add method getParameter() to ObjectMessage (and ReusableObjectMessage).
</action>
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/5ae1f3fe/src/site/xdoc/manual/lookups.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/manual/lookups.xml b/src/site/xdoc/manual/lookups.xml
index 18c508f..f244605 100644
--- a/src/site/xdoc/manual/lookups.xml
+++ b/src/site/xdoc/manual/lookups.xml
@@ -169,17 +169,17 @@
Use the prefix <code>jvmrunargs</code> to access JVM arguments.
</p>
<p>
- See the Javadocs for
+ See the Javadocs for
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/management/RuntimeMXBean.html#getInputArguments--">
java.lang.management.RuntimeMXBean.getInputArguments()
</a>.
</p>
- <p><strong>Java's JMX module is not available on Android.</strong></p>
+ <p><strong>Java's JMX module is not available on Android or on Google App Engine.</strong></p>
</subsection>
<a name="Log4jConfigLookup"/>
<subsection name="Log4j Configuration Location Lookup">
<p>
- Log4j configuration properties. The expressions
+ Log4j configuration properties. The expressions
<code>${log4j:configLocation}</code> and <code>${log4j:configParentLocation}</code>
respectively provide the absolute path to the log4j configuration file
and its parent folder.
@@ -284,7 +284,7 @@ public static void main(String args[]) {
<Pattern>%d %m%n</Pattern>
</PatternLayout>
</File>]]></pre>
- </subsection>
+ </subsection>
<a name="MapLookup"/>
<subsection name="Map Lookup">
<p>
@@ -363,7 +363,7 @@ Configuration:
Root:
level: trace
AppenderRef:
- - ref: ROUTING_APPENDER]]></pre>
+ - ref: ROUTING_APPENDER]]></pre>
<pre class="prettyprint linenums"><![CDATA[
public static final Marker SQL = MarkerFactory.getMarker("SQL");
public static final Marker PAYLOAD = MarkerFactory.getMarker("PAYLOAD");
@@ -380,11 +380,11 @@ logger.info(PERFORMANCE, "Message in Performance.log");]]></pre>
<code>sql.log</code>, the log event with the <code>PAYLOAD</code> marker to <code>payload.log</code>, and so on.
</p>
<p>
- You can use the notation <code>"${marker:name}"</code> and <code>"$${marker:name}"</code> to check for the
- existence of a marker where <code>name</code> is the marker name. If the marker exists, the expression returns
- the name, otherwise <code>null</code>.
+ You can use the notation <code>"${marker:name}"</code> and <code>"$${marker:name}"</code> to check for the
+ existence of a marker where <code>name</code> is the marker name. If the marker exists, the expression returns
+ the name, otherwise <code>null</code>.
</p>
- </subsection>
+ </subsection>
<a name="StructuredDataLookup"/>
<subsection name="Structured Data Lookup">
<p>