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 log_dir_; --