GitHub user alinaliBQ added a comment to the discussion: Do we need an 
ArrowLogIsEnabled API?

That is also one approach. I think that is not current behavior of 
`ShutDownArrowLog`. Below is what ODBC uses (we currently aren't using glog as 
it is getting replaced later https://github.com/apache/arrow/issues/47465):

https://github.com/apache/arrow/blob/eb9d5194a306f8145f8600b176f3bd391ee4397c/cpp/src/arrow/util/logging.cc#L142-L151


The variable ` static std::unique_ptr<std::string> app_name_; `. isn't being 
reset at `ShutDownArrowLog`, as `ShutDownArrowLog` does a no-op if glog is not 
used. 

GitHub link: 
https://github.com/apache/arrow/discussions/47671#discussioncomment-14567606

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to