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

ARTEMIS-1930 + some debug logging #2148

Closed
wants to merge 2 commits into from

Conversation

jbertram
Copy link
Contributor

No description provided.

@jbertram jbertram force-pushed the ARTEMIS-1930 branch 2 times, most recently from 231a671 to 43a95be Compare June 20, 2018 16:05
@@ -582,6 +582,27 @@ public void handleFrame(StompFrame request) {
}
}

public void logFrame(StompFrame request, boolean in) {
if (ActiveMQStompProtocolLogger.LOGGER.isDebugEnabled()) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for direct calls on debug and trace, I would use an individualized Logger.

Logger logger = Logger.getLogger(StompConnection.class)

we should use Logger only for INFO messages with ID... as of debugging this, it gets fairly difficult to do it without the individual logs. Just wait till you ask debug loggers from users and it gets fairly difficult.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Understood. I'll change it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants