summaryrefslogtreecommitdiff
path: root/qpid/python/qpid/delegates.py
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/python/qpid/delegates.py')
-rw-r--r--qpid/python/qpid/delegates.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/qpid/python/qpid/delegates.py b/qpid/python/qpid/delegates.py
index 7cfd9b11db..a720e2e1c7 100644
--- a/qpid/python/qpid/delegates.py
+++ b/qpid/python/qpid/delegates.py
@@ -21,6 +21,7 @@ import os, connection, session
from util import notify
from datatypes import RangedSet
from logging import getLogger
+import sys
log = getLogger("qpid.io.ctl")
@@ -141,7 +142,10 @@ class Client(Delegate):
PROPERTIES = {"product": "qpid python client",
"version": "development",
- "platform": os.name}
+ "platform": os.name,
+ "qpid.client_process": os.path.basename(sys.argv[0]),
+ "qpid.client_pid": os.getpid(),
+ "qpid.client_ppid": os.getppid()}
def __init__(self, connection, username="guest", password="guest",
mechanism="PLAIN", heartbeat=None):