mirror of
https://github.com/vale981/ray
synced 2025-03-09 12:56:46 -04:00
15 lines
543 B
Diff
15 lines
543 B
Diff
diff --git cpp/src/arrow/util/logging.cc cpp/src/arrow/util/logging.cc
|
|
index e54a10e52..3dbfc7a12 100644
|
|
--- cpp/src/arrow/util/logging.cc
|
|
+++ cpp/src/arrow/util/logging.cc
|
|
@@ -84,7 +84,9 @@ typedef google::LogMessage LoggingProvider;
|
|
typedef CerrLog LoggingProvider;
|
|
#endif
|
|
|
|
+#if !defined(_WIN32) || defined(ARROW_STATIC) || defined(ARROW_EXPORTING) || !defined(ARROW_EXPORT)
|
|
ArrowLogLevel ArrowLog::severity_threshold_ = ArrowLogLevel::ARROW_INFO;
|
|
+#endif
|
|
// Keep the log directory.
|
|
static std::unique_ptr<std::string> log_dir_;
|
|
|
|
--
|