Setup logging for Process Elements
In some cases it is necessary to disable logging for individual Elements. A common use case is OAuth2 authentication. If you need to authenticate for some service using OAuth2, you first need to fetch the token from an authentication service. To fetch the token you can use Frends Tasks such as Frends.Web.RestRequest or Frends.Web.HttpRequest. After you have fetched the token you can use it in another Task. The problem here is that if you are using either the "default" or "Everything" log levels in the Process, Tasks will log the token that is fetched from the authentication service. In this case, you should consider skipping the logging of results and parameters for Elements which are using the fetched token.
The next article is Best practices on Process Logging for different Agent Groups