[
https://issues.apache.org/jira/browse/STORM-414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14067857#comment-14067857
]
ASF GitHub Bot commented on STORM-414:
--------------------------------------
Github user dashengju commented on a diff in the pull request:
https://github.com/apache/incubator-storm/pull/196#discussion_r15148233
--- Diff: storm-core/src/multilang/py/storm.py ---
@@ -135,8 +135,8 @@ def fail(tup):
def reportError(msg):
sendMsgToParent({"command": "error", "msg": msg})
-def log(msg):
- sendMsgToParent({"command": "log", "msg": msg})
+def log(msg, level=2):
--- End diff --
good idea
> support logging level to multilang protocol spout and bolt
> ----------------------------------------------------------
>
> Key: STORM-414
> URL: https://issues.apache.org/jira/browse/STORM-414
> Project: Apache Storm (Incubating)
> Issue Type: Improvement
> Affects Versions: 0.9.2-incubating, 0.9.3-incubating
> Reporter: DashengJu
> Priority: Minor
> Fix For: 0.9.3-incubating
>
>
> @mahall create a PR: https://github.com/apache/incubator-storm/pull/24 ,
> Added logging level to multilang protocol spout and bolt. But he closed it
> with no reason.
> @msukmanowsky create a PR before to apache:
> https://github.com/nathanmarz/storm/pull/626 , Allow ShellBolts to optionally
> specify the logging level. But he did not modify ShellSpout and storm.py.
> This improvement add optional logging level to Multilang Protocol's log
> method. And add implementation in python and ruby.
--
This message was sent by Atlassian JIRA
(v6.2#6252)