You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2016/06/14 14:30:47 UTC

qpid-dispatch git commit: NO-JIRA: Remove unused "DISPATCH" logging category.

Repository: qpid-dispatch
Updated Branches:
  refs/heads/master ebee479ec -> 1ddb7d0de


NO-JIRA: Remove unused "DISPATCH" logging category.

This category was associated with the qd_dispatch object but never used.
It is not required since messages can be logged to the contained qd_dispatch object.


Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/1ddb7d0d
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/1ddb7d0d
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/1ddb7d0d

Branch: refs/heads/master
Commit: 1ddb7d0de9b5edb1d1b09744e698124c6d464675
Parents: ebee479
Author: Alan Conway <ac...@redhat.com>
Authored: Tue Jun 14 10:19:54 2016 -0400
Committer: Alan Conway <ac...@redhat.com>
Committed: Tue Jun 14 10:25:06 2016 -0400

----------------------------------------------------------------------
 python/qpid_dispatch/management/qdrouter.json | 19 +++++++++----------
 src/dispatch.c                                |  1 -
 src/dispatch_private.h                        |  2 --
 3 files changed, 9 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/1ddb7d0d/python/qpid_dispatch/management/qdrouter.json
----------------------------------------------------------------------
diff --git a/python/qpid_dispatch/management/qdrouter.json b/python/qpid_dispatch/management/qdrouter.json
index 9180dcb..c7cf8e5 100644
--- a/python/qpid_dispatch/management/qdrouter.json
+++ b/python/qpid_dispatch/management/qdrouter.json
@@ -19,7 +19,7 @@
                     "type": "string",
                     "default": "127.0.0.1",
                     "create": true
-                },                
+                },
                 "port": {
                     "description": "Port number or symbolic service name.",
                     "type": "string",
@@ -106,8 +106,8 @@
                 "sslProfileName": {
                     "type": "string",
                     "description": "The name of the ssl profile. This is for internal use only. Use the 'name' attribute to assign a name to an sslProfile section ",
-                    "create": false 
-                }                
+                    "create": false
+                }
             }
         }
     },
@@ -483,7 +483,7 @@
 
             "singleton": true,
             "attributes": {
-            
+
                 "containerName": {
                     "type": "string",
                     "description": "The  name of the AMQP container.  If not specified, the container name will be set to a value of the container's choosing.  The automatically assigned container name is not guaranteed to be persistent across restarts of the container.",
@@ -762,7 +762,7 @@
                     "default": true,
                     "description": "yes: Ensures that when initiating a connection (as a client) the host name in the URL to which this connector connects to matches the host name in the digital certificate that the peer sends back as part of the SSL connection; no: Does not perform host name verification",
                     "create": true
-                },                
+                },
                 "saslUsername": {
                     "type": "string",
                     "required": false,
@@ -775,7 +775,7 @@
                     "description": "The password that the connector is using to connect to a peer.",
                     "create": true,
                     "hidden": true
-                }                                
+                }
             }
         },
 
@@ -797,7 +797,6 @@
                         "CONTAINER",
                         "CONFIG",
                         "ERROR",
-                        "DISPATCH",
                         "POLICY",
                         "DEFAULT"
                     ],
@@ -1197,7 +1196,7 @@
                 "id": {
                     "description": "Remote node identifier.",
                     "type": "string"
-                },                
+                },
                 "instance": {
                     "description": "Remote node boot number.",
                     "type": "integer"
@@ -1310,12 +1309,12 @@
             "description": "Start a websocket/tcp proxy and http file server to serve the web console",
             "extends": "configurationEntity",
             "singleton": true,
-            "attributes": { 
+            "attributes": {
                 "listener": {"type": "string", "description": "The name of the listener to send the proxied tcp traffic to."},
                 "wsport": {"type": "integer", "description": "port on which to listen for websocket traffic", "default": 5673},
                 "proxy": {"type": "string", "description": "The full path to the proxy program to run."},
                 "home": {"type": "string", "description": "The full path to the html/css/js files for the console."},
-                "args": {"type": "string", "description": "Optional args to pass the proxy program for logging, authentication, etc."}  
+                "args": {"type": "string", "description": "Optional args to pass the proxy program for logging, authentication, etc."}
 
             }
         },

http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/1ddb7d0d/src/dispatch.c
----------------------------------------------------------------------
diff --git a/src/dispatch.c b/src/dispatch.c
index d200532..1b39228 100644
--- a/src/dispatch.c
+++ b/src/dispatch.c
@@ -69,7 +69,6 @@ qd_dispatch_t *qd_dispatch(const char *python_pkgdir)
     if (qd_error_code()) { qd_dispatch_free(qd); return 0; }
     qd_message_initialize();
     if (qd_error_code()) { qd_dispatch_free(qd); return 0; }
-    qd->log_source = qd_log_source("DISPATCH");
     qd->dl_handle = 0;
     return qd;
 }

http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/1ddb7d0d/src/dispatch_private.h
----------------------------------------------------------------------
diff --git a/src/dispatch_private.h b/src/dispatch_private.h
index d8d8ffd..27a454f 100644
--- a/src/dispatch_private.h
+++ b/src/dispatch_private.h
@@ -59,8 +59,6 @@ struct qd_dispatch_t {
     char  *router_area;
     char  *router_id;
     qd_router_mode_t  router_mode;
-
-    qd_log_source_t *log_source;
 };
 
 /**


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