You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/09/24 14:39:00 UTC

[jira] [Commented] (DISPATCH-1781) Scraper could inject any log module output into data web page

    [ https://issues.apache.org/jira/browse/DISPATCH-1781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17201570#comment-17201570 ] 

ASF subversion and git services commented on DISPATCH-1781:
-----------------------------------------------------------

Commit 0207301f8d092fb661862c452a1faef90b794cc6 in qpid-dispatch's branch refs/heads/master from Charles E. Rolke
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=0207301 ]

DISPATCH-1781: Scraper injects any log module output into data web page

Add command line settings to specify a list of log modules instead of hard-coding 'SCRAPER' as the injected log module. These log module statements are injected verbatim into the main scraper web page.

Command line adds:

  --log-modules LOG_MODULES, -lm LOG_MODULES
                        Include list of named modules log entries in main log
                        display. Specify multiple modules as a CSV string.
                        Defaults to "SCRAPER"

This will be useful for upcoming protocol adaptors.

  scraper --log-modules TCP_ADAPTOR -f *.log > test.html
  firefox test.html


> Scraper could inject any log module output into data web page
> -------------------------------------------------------------
>
>                 Key: DISPATCH-1781
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1781
>             Project: Qpid Dispatch
>          Issue Type: Improvement
>          Components: Tools
>    Affects Versions: 1.14.0
>            Reporter: Charles E. Rolke
>            Assignee: Charles E. Rolke
>            Priority: Major
>             Fix For: 1.15.0
>
>
> Add command line settings to specify a list of log modules instead of hard-coding 'SCRAPER' as the injected log module. These log module statements are injected verbatim into the main scraper web page.
> Command line adds:
> {code:java}
>   --log-modules LOG_MODULES, -lm LOG_MODULES
>                         Include list of named modules log entries in main log
>                         display. Specify multiple modules as a CSV string.
>                         Defaults to "SCRAPER"
> {code}
>  
> This will be useful for upcoming protocol adaptors.
> {code:java}
> scraper --log-modules TCP_ADAPTOR -f *.log > test.html
> firefox test.html
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org