Skip to content

Commit 116ae2d

Browse files
committed
Revert "Register log confditionally"
This reverts commit 93f095c. The logic is flawed.
1 parent 93f095c commit 116ae2d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cpp/src/arrow/flight/sql/odbc/flight_sql/flight_sql_driver.cc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,7 @@ void FlightSqlDriver::RegisterLog() {
7979

8080
// Enable driver logging. Log files are not supported on Windows yet, since GLOG is not
8181
// tested fully on Windows.
82-
if (!arrow::util::ArrowLog::IsLevelEnabled(log_level)) {
83-
arrow::util::ArrowLog::StartArrowLog("arrow-flight-sql-odbc", log_level);
84-
}
82+
arrow::util::ArrowLog::StartArrowLog("arrow-flight-sql-odbc", log_level);
8583
}
8684

8785
} // namespace flight_sql

0 commit comments

Comments
 (0)