-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-2312] Logging Unhandled messages #2055
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
Conversation
|
After send the PR I realized that I could have written some tests based on underlyingActor and isDefinedAt, if is valuable I can do it. BR |
|
Hi @ScrapCodes, I am starting to contribute with Spark and knowing the source code/structure now, but I think that the use of Actor are limited to internal developers, so the Unhandled messages are not often sent to an Actor System, maybe if the actors were exposed to public call, unhandled messages could be more frequents. BR |
|
Can one of the admins verify this patch? |
|
@ScrapCodes do you have a verdict one way or the other on this? |
|
@pwendell This patch will lead to logging of messages like These are akka system messages. And I guess logging them at "WARN" would be a little noisy(They are not many of them as I initially thought.). So I am okay with it if logging level is changed to at least "DEBUG" or even better TRACE. I will leave rest to your judgement. |
|
ok to test... |
|
@isaias I think logging these messages are fine, but as @ScrapCodes indicated it will be fairly noisy for random dis/association events. I agree that having something logged is better than silently dropping unknown messages, but maybe we need to filter some of these out before we do that. |
|
Test build #27751 has finished for PR 2055 at commit
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, perhaps at least turn this down to info?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@andrewor14 @srowen I think that down to info or debug is ok. What do you think? Can I change it? Wait for now?
|
@isaias can you make the change here? let's use debug logging. |
|
@srowen done |
|
Cool, unless anyone pops up to object, I'll merge tomorrow. |
|
Test build #30341 has finished for PR 2055 at commit
|
|
My only concern with logging at debug is that this will mask unexpected events in most cases. However, given that this is strictly more informative than before and we haven't had to rely on these warnings to debug the system, I think this is fine to merge as is. LGTM. |
|
Yeah, end users could turn on debug logging for this logger if needed. I could be turned up later to info by default if desired. |
The previous solution has changed based on #2048 discussions.