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

ASF GitHub Bot commented on DISPATCH-878:
-----------------------------------------

GitHub user ganeshmurthy opened a pull request:

    https://github.com/apache/qpid-dispatch/pull/245

    DISPATCH-878 - Added code to display the actual listening port if 0(z…

    …ero) is set as the listening port

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ganeshmurthy/qpid-dispatch DISPATCH-878

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/qpid-dispatch/pull/245.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #245
    
----
commit 6c6c68b09807236460088c2e92660e4e50bd3a76
Author: Ganesh Murthy <gmurthy@...>
Date:   2018-01-16T18:49:53Z

    DISPATCH-878 - Added code to display the actual listening port if 0(zero) 
is set as the listening port

----


> qdrouterd should log real port if port 0 was specified for the listener port 
> property in qdrouterd.conf
> -------------------------------------------------------------------------------------------------------
>
>                 Key: DISPATCH-878
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-878
>             Project: Qpid Dispatch
>          Issue Type: Improvement
>          Components: Container
>         Environment: OS: Red Hat Linux Server release 6.4
> Dispatch version: 0.7.0
>            Reporter: Jeremy
>            Assignee: Ganesh Murthy
>            Priority: Major
>
> For such a qdrouterd.conf configuration:
> {noformat}
> router {
>     mode: standalone
>     id: Router.A
> }
> listener {
>     host: 0.0.0.0
>     *port: 5673*
>     authenticatePeer: no
>     saslMechanisms: ANONYMOUS
> }
> {noformat}
> qdrouterd logs the port as such:
> {noformat}
> CONN_MGR (info) Configured Listener: 0.0.0.0:5673 proto=any, role=normal
> {noformat}
> When specifying port 0, so that the dispatch router runs on a random 
> available port, the log is as such:
> {noformat}
> CONN_MGR (info) Configured Listener: 0.0.0.0:0 proto=any, role=normal
> {noformat}
> qdrouterd process can log instead the real port that was randomly chosen.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to