You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rp...@apache.org on 2014/06/14 17:20:09 UTC
svn commit: r1602595 -
/logging/log4j/log4j2/trunk/src/site/xdoc/manual/jmx.xml
Author: rpopma
Date: Sat Jun 14 15:20:08 2014
New Revision: 1602595
URL: http://svn.apache.org/r1602595
Log:
LOG4J2-539: doc fix: log4j-api jar must be specified in pluginpath/classpath when starting JMX client GUI
Modified:
logging/log4j/log4j2/trunk/src/site/xdoc/manual/jmx.xml
Modified: logging/log4j/log4j2/trunk/src/site/xdoc/manual/jmx.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/site/xdoc/manual/jmx.xml?rev=1602595&r1=1602594&r2=1602595&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/src/site/xdoc/manual/jmx.xml (original)
+++ logging/log4j/log4j2/trunk/src/site/xdoc/manual/jmx.xml Sat Jun 14 15:20:08 2014
@@ -89,9 +89,9 @@
<p>To run the Log4j JMX Client GUI as a JConsole Plug-in,
start JConsole with the following command:
</p>
- <p><code>$JAVA_HOME/bin/jconsole -pluginpath /path/to/log4j-core-2.0.jar:/path/to/log4j-jmx-gui-2.0.jar</code></p>
+ <p><code>$JAVA_HOME/bin/jconsole -pluginpath /path/to/log4j-api-2.0.jar:/path/to/log4j-core-2.0.jar:/path/to/log4j-jmx-gui-2.0.jar</code></p>
<p>or on Windows:</p>
- <p><code>%JAVA_HOME%\bin\jconsole -pluginpath \path\to\log4j-core-2.0.jar;\path\to\log4j-jmx-gui-2.0.jar</code></p>
+ <p><code>%JAVA_HOME%\bin\jconsole -pluginpath \path\to\log4j-api-2.0.jar;\path\to\log4j-core-2.0.jar;\path\to\log4j-jmx-gui-2.0.jar</code></p>
<p>If you execute the above command and connect to your application,
you will see an extra "Log4j 2" tab in the JConsole window.
This tab contains the client GUI, with the StatusLogger selected.
@@ -132,9 +132,9 @@
<p>To run the Log4j JMX Client GUI as a stand-alone application,
run the following command:
</p>
- <p><code>$JAVA_HOME/bin/java -cp /path/to/log4j-core-2.0.jar:/path/to/log4j-jmx-gui-2.0.jar org.apache.logging.log4j.jmx.gui.ClientGUI <options></code></p>
+ <p><code>$JAVA_HOME/bin/java -cp /path/to/log4j-api-2.0.jar:/path/to/log4j-core-2.0.jar:/path/to/log4j-jmx-gui-2.0.jar org.apache.logging.log4j.jmx.gui.ClientGUI <options></code></p>
<p>or on Windows:</p>
- <p><code>%JAVA_HOME%\bin\java -cp \path\to\log4j-core-2.0.jar;\path\to\log4j-jmx-gui-2.0.jar org.apache.logging.log4j.jmx.gui.ClientGUI <options></code></p>
+ <p><code>%JAVA_HOME%\bin\java -cp \path\to\log4j-api-2.0.jar;\path\to\log4j-core-2.0.jar;\path\to\log4j-jmx-gui-2.0.jar org.apache.logging.log4j.jmx.gui.ClientGUI <options></code></p>
<p>Where <code>options</code> are one of the following:</p>
<ul>
<li><code><host>:<port></code></li>