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

Allow control of logging #1463

Closed
thoroughsoft opened this issue Jun 15, 2022 · 0 comments · Fixed by #1464
Closed

Allow control of logging #1463

thoroughsoft opened this issue Jun 15, 2022 · 0 comments · Fixed by #1464

Comments

@thoroughsoft
Copy link

Expected Behavior

org.springframework.amqp.rabbit.core.RabbitTemplate#logReceived is made protected.

Current Behavior

org.springframework.amqp.rabbit.core.RabbitTemplate#logReceived is private

Context

In cases where classified information is processed it is important to be able to control the log output.
By changing the visibility of this method it is possible to in an easy fashion control what is logged when.
Small change, huge effect.
Also a question.
Should logReceived not be called from org.springframework.amqp.rabbit.core.RabbitTemplate#exchangeMessages ?

@garyrussell garyrussell added this to the 3.0.0-M4 milestone Jun 15, 2022
garyrussell added a commit to garyrussell/spring-amqp that referenced this issue Jun 15, 2022
artembilan pushed a commit that referenced this issue Jun 15, 2022
artembilan pushed a commit that referenced this issue Jun 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants