sarutak commented on a change in pull request #29356:
URL: https://github.com/apache/spark/pull/29356#discussion_r466113982



##########
File path: core/src/test/scala/org/apache/spark/SparkFunSuite.scala
##########
@@ -65,6 +65,12 @@ abstract class SparkFunSuite
   with Logging {
 // scalastyle:on
 
+  // Initialize the logger forcibly to let the logger log timestamp
+  // based on the local time zone depending on environments.
+  // The default time zone will be set to America/Los_Angeles later
+  // so this initialization is necessary here.
+  log

Review comment:
       Seems so. `DateFormat` classes used in log4j uses `Calendar`, which is 
instantiated in the constructor with the default time zone at the time.




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

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