You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "HyukjinKwon (via GitHub)" <gi...@apache.org> on 2026/10/12 04:18:14 UTC

[I] go/adbc/pkg: the "warn" log level keeps the error level [arrow-adbc]

HyukjinKwon opened a new issue, #4880:
URL: https://github.com/apache/arrow-adbc/issues/4880

   ### What happened?
   
   In the Go driver template, `case "warn":` has no body, and Go doesn't fall through, so `ADBC_DRIVER_<PREFIX>_LOG_LEVEL=warn` leaves the level at `slog.LevelError` ([driver.go.tmpl#L203](https://github.com/apache/arrow-adbc/blob/ecd98b42118c21547f509a11cc037f2faa902430/go/adbc/pkg/_tmpl/driver.go.tmpl#L203)). `warn` is one of the values the logging help text suggests; `warning` works.
   
   Every driver generated from the template inherits this, including Flight SQL here and the drivers in adbc-drivers, for example [adbc-drivers/spark](https://github.com/adbc-drivers/spark/blob/1532d8043666f5d41f544bb25d3b915c2aebf80b/go/pkg/driver.go#L215).
   
   ### Stack Trace
   
   _No response_
   
   ### How can we reproduce the bug?
   
   Set `ADBC_DRIVER_FLIGHTSQL_LOG_LEVEL=warn` and load the Flight SQL driver: warnings aren't logged. With `ADBC_DRIVER_FLIGHTSQL_LOG_LEVEL=warning` they are.
   
   ### Environment/Setup
   
   Found by reading the source at ecd98b4 (main).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] go/adbc/pkg: the "warn" log level keeps the error level [arrow-adbc]

Posted by "HyukjinKwon (via GitHub)" <gi...@apache.org>.
HyukjinKwon commented on issue #4880:
URL: https://github.com/apache/arrow-adbc/issues/4880#issuecomment-6117661810

   take


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] go/adbc/pkg: the "warn" log level keeps the error level [arrow-adbc]

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm closed issue #4880: go/adbc/pkg: the "warn" log level keeps the error level
URL: https://github.com/apache/arrow-adbc/issues/4880


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org