Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging: Use : as the separator in verbosity mapping #3283

Merged
merged 1 commit into from
Aug 10, 2021

Conversation

dumbbell
Copy link
Member

@dumbbell dumbbell commented Aug 9, 2021

This is the same separator as the field mapping. I don't remember why I picked a different character... Now, it feels awkward and non-intuitive for users.

@dumbbell dumbbell force-pushed the use-colon-as-verbosity_map-separator branch from 39bffbb to d685bfa Compare August 10, 2021 10:34
@dumbbell
Copy link
Member Author

dumbbell commented Aug 10, 2021

This change could be considered a breaking change. However, given the JSON logging feature is undocumented for now, I believe it can be backported.

What do you think, @gerhard and @ansd?

This is the same separator as the field mapping. I don't remember why I
picked a different character... Now, it feels awkward and non-intuitive
for users.
@dumbbell dumbbell force-pushed the use-colon-as-verbosity_map-separator branch from d685bfa to 47e0a5f Compare August 10, 2021 12:26
@dumbbell dumbbell marked this pull request as ready for review August 10, 2021 13:08
@dumbbell dumbbell merged commit 6cf22b1 into master Aug 10, 2021
@dumbbell dumbbell deleted the use-colon-as-verbosity_map-separator branch August 10, 2021 13:08
@gerhard
Copy link
Contributor

gerhard commented Aug 10, 2021

Yes, backporting sounds right, the reasoning is sound and accurate.

By the way, do you know @dumbbell that we now have a bot which can automatically backport? See #3284 (comment)

@dumbbell
Copy link
Member Author

Yes, I used to backport other patches :)

@dumbbell
Copy link
Member Author

@Mergifyio backport v3.9.x

@mergify
Copy link

mergify bot commented Aug 10, 2021

Command backport v3.9.x: success

Backports have been created

michaelklishin added a commit that referenced this pull request Aug 10, 2021
Logging: Use `:` as the separator in verbosity mapping (backport #3283)
ansd added a commit to rabbitmq/cluster-operator that referenced this pull request Aug 23, 2021
since rabbitmq/rabbitmq-server#3281 and
rabbitmq/rabbitmq-server#3283 are merged.

Example log output:
{"v":7,"time":1629703633887530,"msg":"accepting AMQP connection <0.1321.0> (10.244.0.1:43532 -> 10.244.0.14:5672)","domain":"rabbitmq.connection","pid":"<0.1321.0>","gl":"<0.223.0>"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants