You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by bu...@apache.org on 2011/10/12 08:37:15 UTC
svn commit: r796937 -
/websites/staging/openejb/trunk/content/failover-logging.html
Author: buildbot
Date: Wed Oct 12 06:37:14 2011
New Revision: 796937
Log:
Staging update by buildbot
Added:
websites/staging/openejb/trunk/content/failover-logging.html
Added: websites/staging/openejb/trunk/content/failover-logging.html
==============================================================================
--- websites/staging/openejb/trunk/content/failover-logging.html (added)
+++ websites/staging/openejb/trunk/content/failover-logging.html Wed Oct 12 06:37:14 2011
@@ -0,0 +1,108 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<HTML>
+ <head>
+ <title></title>
+
+ <link href="/all.css" rel="stylesheet" type="text/css">
+ <!--[if IE]><link rel="stylesheet" type="text/css" media="screen, projection" href="openejb.apache.org/ie.css"><![endif]-->
+
+ <link href="/prettify.css" type="text/css" rel="stylesheet" />
+
+ <script src="/javascript/prettify.js" type="text/javascript"></script>
+ <script src="/javascript/jquery-latest.js"></script>
+ <script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
+ <script src="/javascript/common.js"></script>
+ <script src="/javascript/prettyprint.js"></script>
+ <link rel="SHORTCUT ICON" href="http://openejb.apache.org/images/favicon.ico">
+ <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
+ </head>
+ <BODY>
+
+ <div id="container">
+ <div id="navigation">
+ <UL>
+ <LI><A href="index.html" title="Index">Home</A></LI>
+ <LI><A href="downloads.html" title="Download">Download</A></LI>
+ <LI><A href="documentation.html" title="Index">Documentation</A></LI>
+ <LI><A href="examples.html" title="Examples">Examples</A></LI>
+ <LI><A href="mailing-lists.html" title="Mailing Lists">Mailing Lists</A></LI>
+ <LI><A href="source-code.html" title="Source Code">Source Code</A></LI>
+ <LI><A href="http://blogs.apache.org/openejb" class="external-link" rel="nofollow">Project Blog</A></LI>
+ <LI><A href="faq.html" title="FAQ">FAQ</A></LI>
+ </UL>
+ </div>
+ <div id="header">
+ <h1>
+ <div id="name">Apache TomEE<br>
+ </div>
+ </h1>
+ </div>
+ <div id="content">
+ <p>Setting the following logging category to "debug" will open up some new logging information.</p>
+
+<pre><code>log4j.category.OpenEJB.server.discovery = debug
+</code></pre>
+
+<p>Or more specifically as:</p>
+
+<pre><code>log4j.category.OpenEJB.server.discovery.multipoint = debug
+log4j.category.OpenEJB.server.discovery.multicast = debug
+</code></pre>
+
+<p>The nature of the debug output is to display all configuration information at startup:</p>
+
+<pre><code>DEBUG - Using default 'heart_rate=500'
+DEBUG - Using default 'max_missed_heartbeats=10'
+DEBUG - Using default 'max_reconnect_delay=30000'
+DEBUG - Using default 'reconnect_delay=5000'
+DEBUG - Using default 'exponential_backoff=0'
+DEBUG - Using default 'max_reconnect_attempts=10'
+INFO - Created Tracker{group='default', groupPrefix='default:', heartRate=500, maxMissedHeartbeats=10, reconnectDelay=5000, maxReconnectDelay=30000, maxReconnectAttempts=10, exponentialBackoff=0, useExponentialBackOff=false, registeredServices=0, discoveredServices=0}
+</code></pre>
+
+<p>Changing the configuration should reflect in the logging as follows:</p>
+
+<pre><code>INFO - Using 'heart_rate=200'
+INFO - Using 'max_missed_heartbeats=2'
+DEBUG - Using default 'max_reconnect_delay=30000'
+DEBUG - Using default 'reconnect_delay=5000'
+DEBUG - Using default 'exponential_backoff=0'
+DEBUG - Using default 'max_reconnect_attempts=10'
+INFO - Created Tracker{group='default', groupPrefix='default:', heartRate=200, maxMissedHeartbeats=2, reconnectDelay=5000, maxReconnectDelay=30000, maxReconnectAttempts=10, exponentialBackoff=0, useExponentialBackOff=false, registeredServices=0, discoveredServices=0}
+</code></pre>
+
+<p>As well as any events at runtime:</p>
+
+<pre><code>DEBUG - Expired Service{uri=green://localhost:0, broadcastString='default:green://localhost:0&#39;} Timeout{lastSeen=-5005, threshold=5000}
+
+DEBUG - Added Service{uri=green://localhost:0}
+
+DEBUG - Removed Service{uri=green://localhost:0}
+</code></pre>
+
+ </div>
+ <div id="footer">
+ <SPAN class="bodyGrey">
+ <SMALL>
+ <NOTICE><!-- $FOOTER -->
+ Apache OpenEJB is an project of The Apache Software Foundation (ASF)
+ </NOTICE>
+ </SMALL>
+ </SPAN>
+ </div>
+ </div>
+
+ <SPAN style="display: none">
+ <SCRIPT type="text/javascript" language="JavaScript"
+ src="http://cwiki.apache.org/confluence/labels-javascript"></SCRIPT>
+
+ <SCRIPT src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+ </SCRIPT>
+ <SCRIPT type="text/javascript">
+ _uacct = "UA-2717626-1";
+ urchinTracker();
+ </SCRIPT>
+ </SPAN>
+
+ </BODY>
+</HTML>
\ No newline at end of file