algolia / algoliasearch-client-swift

⚡️ A fully-featured and blazing-fast Swift API client to interact with Algolia.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SearchConfiguration.logLevel has no effect

antiraum opened this issue · comments

After updating to v8.20.0 we noticed that all request and response data is logged with the log type/level debug.

Changing the SearchConfiguration.logLevel has no effect. Logs of all levels/types are generated independent of the setting value.

var config = SearchConfiguration(applicationID: "xxx", apiKey: "yyy")
config.logLevel = .error
let client = SearchClient(configuration: config)

We were expecting that the log level acted as a minimum level and logs of a lower level are not generated.