- Issue created by @murz
- Merge request !65Issue #3539224: Disable logging of each request to commercetools. β (Merged) created by Unnamed author
The commercetools-sdk PHP library logs every request to the commercetools API to the logger, that produces a lot of unnecessary items in Drupal logs.
Would be good to add an option to the commercetools advanced settings "Log requests to commercetools" (disabled by default) and log them only if it is enabled.
The logger is passed in the function CommercetoolsApiService::getClient() - we should check the configuration and do not pass the logger, if not enabled.
Active
2.0
Code