gaogaotiantian commented on PR #58429: URL: https://github.com/apache/spark/pull/58429#issuecomment-5765866866
My thought around this is how to avoid having duplicated code. We can add an optional `level` arg to `PySparkLogger` which defaults to `WARN`, so the existing behavior is kept. For connect loggers, it can inherit `PySparkLogger` or even just use it with a different `level` arg. The whole goal is to have the shared logic in one file instead of two. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
