GitHub user alinaliBQ created a discussion: Do we need an ArrowLogIsEnabled API?
Currently we have `StartArrowLog` which in theory should only be called once. Our team is working on an Arrow ODBC driver (https://github.com/apache/arrow/pull/46099) which uses Arrow's logging framework, and the ODBC driver dll needs to support unloading, so any static variables stored at the ODBC dll will be reset after unloading; this prevents ODBC from saving the state of whether Arrow logs have started. Currently there is no check for an API like `ArrowLogIsEnabled` that returns whether `StartArrowLog` is already run. If we have such an API, it would be helpful to prevent `StartArrowLog` from being called twice. What does everyone think? GitHub link: https://github.com/apache/arrow/discussions/47671 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
