Platform detection in JDBC driver v3.27.1 #2405
Closed
alisabzevari
started this conversation in
General
Replies: 2 comments
-
|
We just updated and this triggered our error logging, +1 on adjusting logging and/or disabling platform detection by default. Was added in #2351 |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
hi folks, It was added on purpose as an 'enabled by default' feature to align with other projects. We see too that it could be done differently and there's already internal discussions on this. I leave the rest of the details to be expanded by the dev team here if they wish to. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
As it seems from the changelog and commit comparison, the new version of driver added platform detection which seems to be only for the PLATFORM metric in CLIENT_ENVIRONMENT. The problem is that we see error logs for the unauthorized errors. It seems to me that if this is just for checking, the errors should not be logged as errors.
Here is an example error we get:
Error logged in
net.snowflake.client.jdbc.RestRequest. Would this be something to improve in the next update? Also, is it safe to disable the platform detector and how to do that?Beta Was this translation helpful? Give feedback.
All reactions