psavalle commented on PR #58429:
URL: https://github.com/apache/spark/pull/58429#issuecomment-5758754197

   > It does not "pin" loggers at WARN, it initializes them at WARN. You can 
easily change them with setLevel.
   
   We can change the level on individual loggers, but if all loggers are 
initialized at `WARN` instead of `NOTSET`, then we lose the ability to control 
log levels hierarchically -- e.g., to set the level for
   `pyspark.sql.connect.client.core`, we would need to manually set the level 
for all of the child loggers.
   
   I can take another stab at this so we use `PySparkLogger` instead, with a 
single handler and level set on the root logger, if we're fine changing the 
behavior on the levels as well?


-- 
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]

Reply via email to