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/11/01 19:57:22 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/1.0.x 97f37b276 -> 413526897
Updated Tags: refs/tags/1.0.0-rc2 [created] 413526897
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/41352689
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/41352689
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/41352689
Branch: refs/heads/1.0.x
Commit: 41352689758e8f98a3919f9c98e1ce41b0a06bdf
Parents: 97f37b2
Author: Ted Ross <tr...@redhat.com>
Authored: Fri Oct 27 13:50:41 2017 -0400
Committer: Ted Ross <tr...@redhat.com>
Committed: Wed Nov 1 15:48:29 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/41352689/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/41352689/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