Enable / Disable logging of service action
33
Views
1
Comments
New
Service Center

I would like to suggest having option to enable or disable logging for each service action by adding optional parameter to service action "Enable Logging" by default true but developer can change it to false. Something similar to log email content.

I understand service action has same behavior as Rest API so it has 3 logging options (Default, troubleshoot, Full) but this option used per module so its affecting all service actions into the module but sometimes I need to change logging for one of service actions only.


We faced a case that we have service action that has too much traffic calling it so it log every hit to API log table into OutSystems Log database which causing a huge increase into size of table although our logging level is default. It is not important or no business need for us to log this action so we stopped logging for service actions into this module to avoid this increase.

As another workaround we replaced this service action with server action.

We are using O11 

Changed the category to
Service Center