Open ihor-sviziev opened 1 year ago
@nrostrow-meta
@ihor-sviziev There currently is the ability to prevent the exception logs from being sent to Meta. Though it might not be adequate so please let me know if so. The logExceptionImmediatelyToMeta function just adds 'log_type' to the context and then calls the logException function. The logException function has a check for if sending logs to Meta is enabled and if it's not enabled then the log is just made locally and is not added to the queue to be persisted to Meta.
Enabling/disabling persisting exception logs to Meta can be controlled by updating the meta_exception_logging_enabled config value.
Currently this config value isn't shown in the UI though and can only be modified in code. By default the value is set to true to enable persisting exception logs to Meta. The reason for this is that the exception logging is pretty critical for us to be able to identify and diagnose issues with the extension so we were afraid that if we showed it in the UI that sellers would turn it off by default.
Is this acceptable or does disabling sending exception logs to Meta need to be prevalent in the UI? Thanks!
@ihor-sviziev -- if this is acceptable, do you mind resolving this issue?
I noticed that this extension sends a part of the logs to Meta. There is supposed to be an ability to enable/disable this functionality.
Related functionality:
Preconditions (*)
1. 2.
Steps to reproduce (*)
1. 2.
Expected result (*)
Actual result (*)