Disable the logging enable to track Client-Side Errors

Hi

How to disable the logging enabled to track Client-Side Errors

enabled using
curl -X POST http://localhost:8091/logClientError -u Administrator:password
reference : Logging Client-Side Errors | Couchbase Docs

thanks

Do you mean disable the ability to log to the info.log? Clients don’t of course automatically log - they have to deliberately invoke the endpoint for the request (itself) to be recorded in the info.log.

I don’t believe it can be disabled.

Hi
I was in an impression that all client sdk errors will be logged to the info.log automatically without the need of other configuration and hence this option is enabled.
Another connected query : which is the easiest way to track errors that are occurring for an SDK. we use GO SDK

Thanks

hey @haf - the logClientError isn’t what you think it is. When we added that, it was intentionally generic, but the initial target was actually for the web UI as a client. If the web UI has an issue, we didn’t want it to just be in the browser console, so we added a way to capture the errors in the cluster log.

which is the easiest way to track errors that are occurring for an SDK. we use GO SDK

A good first start is to set up logging, and there’s a whole section on Errors and Diagnostics in the documentation. Of course, sometimes an error that presents itself in the go code may have occurred at the cluster, so you might expect this to be iterative. Have a look through those docs to get started!

Hi @ingenthr

Thanks for the explaining how logClientError setting actually works
So we will move on to the direction in enabling error logging by following the link

Thanks