You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by pt...@apache.org on 2016/04/21 20:46:54 UTC

[2/4] storm git commit: Updating the doc to reflect the new default behavior

Updating the doc to reflect the new default behavior


Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/bcf8c8a6
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/bcf8c8a6
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/bcf8c8a6

Branch: refs/heads/master
Commit: bcf8c8a6e88b6cb57852e3e9af24168e25c0f486
Parents: 0969556
Author: Arun Mahadevan <ai...@hortonworks.com>
Authored: Fri Apr 1 09:56:10 2016 +0530
Committer: Arun Mahadevan <ai...@hortonworks.com>
Committed: Fri Apr 1 09:56:10 2016 +0530

----------------------------------------------------------------------
 docs/Eventlogging.md | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/storm/blob/bcf8c8a6/docs/Eventlogging.md
----------------------------------------------------------------------
diff --git a/docs/Eventlogging.md b/docs/Eventlogging.md
index d864366..0895232 100644
--- a/docs/Eventlogging.md
+++ b/docs/Eventlogging.md
@@ -11,7 +11,10 @@ This could be useful for inspecting the tuples emitted at a spout or a bolt in t
 
 ## Enabling event logging
 
-Event logging can be enabled by clicking the "Debug" button under the topology actions in the topology view. This logs the
+Note: Event logging needs to be enabled first by setting the storm config "topology.eventlogger.executors" to a non zero value. Please see
+the [Configuration](#config) section for more details.
+
+Events can be logged by clicking the "Debug" button under the topology actions in the topology view. This logs the
 tuples from all the spouts and bolts in a topology at the specified sampling percentage.
 
 <div align="center">
@@ -54,14 +57,14 @@ Event logging can be disabled at a specific component or at the topology level b
 <p>Figure 4: Disable event logging at topology level.</p>
 </div>
 
-## Configuration
-Eventlogging works by sending the events (tuples) from each component to an internal eventlogger bolt. By default storm automatically starts one event logger task per worker. This can be easily changed by setting the below parameter while running your topology (by setting it in storm.yaml or passing options via command line).
+## <a name="config"></a>Configuration
+Eventlogging works by sending the events (tuples) from each component to an internal eventlogger bolt. By default Storm does not start any event logger tasks, but this can be easily changed by setting the below parameter while running your topology (by setting it in storm.yaml or passing options via command line).
 
 | Parameter  | Meaning |
 | -------------------------------------------|-----------------------|
-| "topology.eventlogger.executors": nil      | One event logger task per worker (default). |
+| "topology.eventlogger.executors": 0      | No event logger tasks are created (default). |
 | "topology.eventlogger.executors": 1      | One event logger task for the topology. |
-| "topology.eventlogger.executors": 0      | No event logger tasks are created. |
+| "topology.eventlogger.executors": nil      | One event logger task per worker. |
 
 
 ## Extending eventlogging