[
https://issues.apache.org/jira/browse/STORM-902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14988004#comment-14988004
]
ASF GitHub Bot commented on STORM-902:
--------------------------------------
Github user zhuoliu commented on a diff in the pull request:
https://github.com/apache/storm/pull/848#discussion_r43799518
--- Diff: storm-core/src/clj/backtype/storm/daemon/logviewer.clj ---
@@ -476,6 +485,405 @@ Note that if anything goes wrong, this will throw an
Error and exit."
(-> (resp/response "Page not found")
(resp/status 404)))))
+(def grep-max-search-size 1024)
+(def grep-buf-size 2048)
+(def grep-context-size 128)
+
+(defn logviewer-port
--- End diff --
We have it have a function mostly for mocking.
logviewer_test.clj
let[expected-port 8888]
(stubbing [local-hostname expected-host
logviewer/logviewer-port expected-port]
.................
> Simple Log Search
> -----------------
>
> Key: STORM-902
> URL: https://issues.apache.org/jira/browse/STORM-902
> Project: Apache Storm
> Issue Type: New Feature
> Components: storm-core
> Reporter: Robert Joseph Evans
> Assignee: Zhuo Liu
> Attachments: search-a-topology.png, search-for-a-single-worker-log.png
>
>
> In many debugging cases it would be nice to be able to do a simple search of
> the logs of a topology directly from the UI.
> This is work that Yahoo has already done, but needs to be put back into open
> source.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)