13
Views
4
Comments
Additional error logs created
Application Type
Mobile
Service Studio Version
11.54.44 (Build 63123)

Hello


I have a client action, that consumes a server action. This server action consumes a service action.

In the service action, I have a raise exception, which is caught on an exception handler placed on the client action with the flag 'IsLogError' = false

However, if I look into service center, in the Monitoring -> Errors, it has 2 logs, one from the service api, where the source is 'Service API', and another one with the complete stack trace.

My question is, is it possible to disable these additional logs, or is there a way for them to not be created on the Error logs?


Thank you in advance


Best regards


Luis Serpa

2024-01-20 14-53-12
Ahmed Essawy

you can control the log level per model (Screen , Service) from the service center as per below :  


2019-09-19 11-12-11
Luis Serpa

Thank you, but I also checked those, and they are already on 'Default', or should they be on something else?

2024-01-20 14-53-12
Ahmed Essawy

mmm, Is your client exception handler cover all types also the second option is set to false (log error).


2019-09-19 11-12-11
Luis Serpa

yes, both. This is happening when you have a communication between a service to a server a action, and a server action to a client action. Because if I have the exception handler on the server action, with the logErrors flag to false, I only have one entry, which is the one from the service action.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.