LuciferYang commented on PR #47500: URL: https://github.com/apache/spark/pull/47500#issuecomment-2320658948
> @LuciferYang Thanks for digging out this issue. > > > change ... from val to lazy val. This can avoid the aforementioned unexpected early initialization. > > IMO we can not forbid logging system early initialization thoroughly, the approach proposed in this PR to reconfigure logging after applying `spark.log.structuredLogging.enabled` makes more sense. fine to me. -- 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]
