-
Notifications
You must be signed in to change notification settings - Fork 114
Use user specified connection name in logs #101
Use user specified connection name in logs #101
Conversation
4c7d882
to
d675c73
Compare
As far as I see this replaces connection name with a user-provided one. We cannot do this because TCP socket-based names also provide valuable information (and are used in the HTTP API). We should append user-provided names to the socket-derived ID. |
It's actually appended, like this - |
Also I didn't think about management plugin - with this patch there is no need in special handling of custom connection name, it is automatically shown as a part of name. |
Looks like this patch is not that useful in current form, exception logging is using old name. |
@binarin I personally would simply update a few call sites that log connection events. That's where most of the value is compared to what we have today. |
d675c73
to
2d982d9
Compare
2d982d9
to
a3926e1
Compare
Updated the patch - looks like this is the only simple way to log something useful. Because adding field to |
Sorry but we cannot merge this as is. This changes connection name internally and thus connection ID as reported by the management UI, for example:
|
…and this will definitely break some monitoring tools in ways that we cannot foresee. Maybe a more significant set of changes for |
Will it be accepted as-is to |
Connection IDs as used by the HTTP API stay unchanged. |
In addition to rabbitmq/rabbitmq-server#104