Gordon Sim created DISPATCH-1410:
------------------------------------
Summary: attach of auto-links not logged
Key: DISPATCH-1410
URL: https://issues.apache.org/jira/browse/DISPATCH-1410
Project: Qpid Dispatch
Issue Type: Bug
Reporter: Gordon Sim
The router logs have helpful lines for link attach and detach. However for
autolinks, there is no attach only detach. You can see this in the log below
where [C3][L6] and [C3][L7] show the start and end of the link, but [C1][L5]
and [C2][L4] show only the end of the link. Would be helpful to have both even
for autolinks.
{noformat}
2019-09-06 21:31:47.039735 +0100 ROUTER (info) In-process subscription L/qdhello
2019-09-06 21:31:47.048500 +0100 AGENT (info) Activating management agent on
$_management_internal
2019-09-06 21:31:47.048551 +0100 ROUTER (info) In-process subscription
L/$_management_internal
2019-09-06 21:31:47.048798 +0100 POLICY (info) Policy configured
maxConnections: 65535, policyDir: '',access rules enabled: 'false', use
hostname patterns: 'false'
2019-09-06 21:31:47.049394 +0100 POLICY (info) Policy fallback defaultVhost is
defined: '$default'
2019-09-06 21:31:47.049625 +0100 CONN_MGR (info) Configured Listener:
0.0.0.0:amqp proto=any, role=normal
2019-09-06 21:31:47.050443 +0100 CONN_MGR (info) Configured Listener:
0.0.0.0:55672 proto=any, role=inter-router
2019-09-06 21:31:47.051275 +0100 CONN_MGR (info) Configured Connector:
0.0.0.0:7777 proto=any, role=route-container
2019-09-06 21:31:47.051954 +0100 CONN_MGR (info) Configured Connector:
0.0.0.0:7777 proto=any, role=route-container
2019-09-06 21:31:47.054214 +0100 SERVER (notice) Operational, 4 Threads Running
(process ID 32593)
2019-09-06 21:31:47.054407 +0100 SERVER (notice) Listening on 0.0.0.0:55672
2019-09-06 21:31:47.054486 +0100 SERVER (notice) Listening on 0.0.0.0:amqp
2019-09-06 21:31:47.058441 +0100 ROUTER (info) [C2] Connection Opened: dir=out
host=0.0.0.0:7777 vhost= encrypted=no auth=ANONYMOUS user=(null)
container_id=a6022696-2483-49f5-8ea6-a6f50db0e7ae props={:product="qpid-cpp",
:version="1.40.0", :platform="Linux", :host="localhost.localdomain"}
2019-09-06 21:31:47.058490 +0100 ROUTER (info) Auto Link Activated 'autoLink/0'
on connection broker-in
2019-09-06 21:31:47.058603 +0100 ROUTER (info) [C1] Connection Opened: dir=out
host=0.0.0.0:7777 vhost= encrypted=no auth=ANONYMOUS user=(null)
container_id=a6022696-2483-49f5-8ea6-a6f50db0e7ae props={:product="qpid-cpp",
:version="1.40.0", :platform="Linux", :host="localhost.localdomain"}
2019-09-06 21:31:47.058702 +0100 ROUTER (info) Auto Link Activated 'autoLink/1'
on connection broker-out
2019-09-06 21:31:58.142937 +0100 SERVER (info) [C3] Accepted connection to
0.0.0.0:amqp from 127.0.0.1:38032
2019-09-06 21:31:58.145620 +0100 ROUTER (info) [C3] Connection Opened: dir=in
host=127.0.0.1:38032 vhost= encrypted=no auth=ANONYMOUS user=anonymous
container_id=80a6aa13-40c4-437c-8c78-37a838d5afb5 props=
2019-09-06 21:31:58.145806 +0100 ROUTER (info) [C3][L6] Link attached: dir=out
source={examples expire:sess} target={<none> expire:sess}
2019-09-06 21:31:58.145841 +0100 ROUTER (info) [C3][L7] Link attached: dir=in
source={<none> expire:sess} target={examples expire:sess}
2019-09-06 21:31:58.146791 +0100 ROUTER (info) [C3][L7] Link detached: del=1
presett=0 psdrop=0 acc=0 rej=0 rel=0 mod=0 delay1=0 delay10=0
2019-09-06 21:31:58.147801 +0100 ROUTER (info) [C3][L6] Link lost: del=1
presett=0 psdrop=0 acc=1 rej=0 rel=0 mod=0 delay1=0 delay10=0
2019-09-06 21:31:58.147820 +0100 ROUTER (info) [C3] Connection Closed
2019-09-06 21:32:08.201325 +0100 SERVER (info) [C1] Connection to 0.0.0.0:7777
failed: amqp:connection:framing-error connection aborted
2019-09-06 21:32:08.201510 +0100 ROUTER (info) Auto Link Activation Failed.
'autoLink/1' on connection broker-out
2019-09-06 21:32:08.201551 +0100 ROUTER (info) [C1][L5] Link lost: del=1
presett=0 psdrop=0 acc=1 rej=0 rel=0 mod=0 delay1=0 delay10=0
2019-09-06 21:32:08.201570 +0100 ROUTER (info) Auto Link Deactivated
'autoLink/1' on connection broker-out
2019-09-06 21:32:08.201585 +0100 ROUTER (info) [C1] Connection Closed
2019-09-06 21:32:08.201879 +0100 SERVER (info) [C2] Connection to 0.0.0.0:7777
failed: amqp:connection:framing-error connection aborted
2019-09-06 21:32:08.201961 +0100 ROUTER (info) Auto Link Activation Failed.
'autoLink/0' on connection broker-in
2019-09-06 21:32:08.201987 +0100 ROUTER (info) [C2][L4] Link lost: del=1
presett=0 psdrop=0 acc=1 rej=0 rel=0 mod=0 delay1=0 delay10=0
2019-09-06 21:32:08.202003 +0100 ROUTER (info) Auto Link Deactivated
'autoLink/0' on connection broker-in
2019-09-06 21:32:08.202014 +0100 ROUTER (info) [C2] Connection Closed
2019-09-06 21:32:10.202120 +0100 SERVER (info) [C4] Connection to 0.0.0.0:7777
failed: proton:io Connection refused - disconnected 0.0.0.0:7777
2019-09-06 21:32:10.202240 +0100 SERVER (info) [C5] Connection to 0.0.0.0:7777
failed: proton:io Connection refused - disconnected 0.0.0.0:7777
{noformat}
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]