-
Notifications
You must be signed in to change notification settings - Fork 214
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
Tune down the logging level for callback server messages #92
Comments
Just to make sure that I don't decrease the level of something useful, what information do you need at the INFO level? |
INFO:py4j.java_gateway:Closing down connection At least server/gateway startup/shutdown messages should be on the INFO level. I'm undecided on callback server connection logging. |
Ok, the Java logging API is a bit weirder than other logging APIs, but I did not want to rely on an external one so here is what I proposed after having reviewed all the logging statements on the Java side: INFO: socket and state related (gateway started, connection received, connection closed, socket listening on...) I might also revisit certain WARNING and SEVERE in the light of issue #93. I'll try to do something similar on the Python side. |
I'll close this issue. Please open a new issue if there are other messages that need to be tuned down. |
Question: how do i suppress this messsage on pyspark? |
INFO:py4j.java_gateway:Received command c on object id p0
This is not useful information unless one is debugging the callback server. It's flooding my logs and it's not easily filtered out if you want the useful messages too. This message should be logged on the DEBUG level.
The text was updated successfully, but these errors were encountered: