You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An argument to opensearch client's __init__ method to turn off the successful requests log
What alternatives have you considered?
Describe in the next section :)
Do you have any additional context?
After reading the code, the Conneciton instance method perform_request will call log_request_success each time the request is made. Currently the only way to turn off this default behavior is to setting 'opensearch' logger's level to a higher level than INFO, by code like this:
Is your feature request related to a problem?
No
What solution would you like?
An argument to opensearch client's
__init__
method to turn off the successful requests logWhat alternatives have you considered?
Describe in the next section :)
Do you have any additional context?
After reading the code, the
Conneciton
instance methodperform_request
will calllog_request_success
each time the request is made. Currently the only way to turn off this default behavior is to setting 'opensearch' logger's level to a higher level than INFO, by code like this:Which force the developer to look inside the library's code and set the log level manually.
The text was updated successfully, but these errors were encountered: