Skip to content

Increase log level for "stopping receiving messages from queue" log...#179

Merged
iancooper merged 1 commit into
BrighterCommand:masterfrom
dstockhammer:master
Apr 6, 2016
Merged

Increase log level for "stopping receiving messages from queue" log...#179
iancooper merged 1 commit into
BrighterCommand:masterfrom
dstockhammer:master

Conversation

@dstockhammer

Copy link
Copy Markdown
Member

...message from DEBUG to ERROR and increase log level for reject message to INFO.

Brighter now stops receiving messages from a queue where the message type doesn't match the request type. Which is great, but it's a breaking change.
Log level of DEBUG seems inappropriate when this happens, because people are likely to have that level filtered out.

Example:

MessagePump: Stopping receiving of messages from [redacted] on thread # 13
paramore.brighter.commandprocessor.ConfigurationException: Message cf44c25c-3c46-490e-8672-b85f4fa055bb mismatch. Message type is 'MT_COMMAND' yet mapper produced message of type IEvent
   at paramore.brighter.serviceactivator.MessagePump`1.DispatchRequest(MessageHeader messageHeader, TRequest request)
   at paramore.brighter.serviceactivator.MessagePump`1.Run()

…essage from DEBUG to ERROR and increase log level for reject message to INFO
@iancooper iancooper merged commit 651d381 into BrighterCommand:master Apr 6, 2016
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.

2 participants