You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by tr...@apache.org on 2017/10/27 17:53:11 UTC
qpid-dispatch git commit: NO-JIRA - Log version at startup. Remove
prefix text on 'qdrouterd -v' to make it easier for downstream to modify
version text.
Repository: qpid-dispatch
Updated Branches:
refs/heads/master 2bd0ccb97 -> 6284b7a81
NO-JIRA - Log version at startup. Remove prefix text on 'qdrouterd -v' to make it easier for downstream to modify version text.
Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/6284b7a8
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/6284b7a8
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/6284b7a8
Branch: refs/heads/master
Commit: 6284b7a81b04e2db2d276a6eb24de5a952a2b3f4
Parents: 2bd0ccb
Author: Ted Ross <tr...@redhat.com>
Authored: Fri Oct 27 13:50:41 2017 -0400
Committer: Ted Ross <tr...@redhat.com>
Committed: Fri Oct 27 13:50:41 2017 -0400
----------------------------------------------------------------------
router/src/main.c | 2 +-
src/router_node.c | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/6284b7a8/router/src/main.c
----------------------------------------------------------------------
diff --git a/router/src/main.c b/router/src/main.c
index 5ba36a8..b525dda 100644
--- a/router/src/main.c
+++ b/router/src/main.c
@@ -296,7 +296,7 @@ int main(int argc, char **argv)
exit(0);
case 'v' :
- fprintf(stdout, "Qpid Dispatch Router %s\n", QPID_DISPATCH_VERSION);
+ fprintf(stdout, "%s\n", QPID_DISPATCH_VERSION);
exit(0);
case '?' :
http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/6284b7a8/src/router_node.c
----------------------------------------------------------------------
diff --git a/src/router_node.c b/src/router_node.c
index c27de16..7a165b2 100644
--- a/src/router_node.c
+++ b/src/router_node.c
@@ -1113,6 +1113,8 @@ qd_router_t *qd_router(qd_dispatch_t *qd, qd_router_mode_t mode, const char *are
case QD_ROUTER_MODE_ENDPOINT: qd_log(router->log_source, QD_LOG_INFO, "Router started in Endpoint mode"); break;
}
+ qd_log(router->log_source, QD_LOG_INFO, "Version: %s", QPID_DISPATCH_VERSION);
+
return router;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org