How to disable the Raygun.io client through application configuration?

I have a Raygun.io client integrated into the latest version of our server application, which is run by corporate clients. Unfortunately, some of them may not want to send any data outside their network, and they may want to disable the Raygun.io client.

My question is, is there something in the Raygun.io library that allows you to disable it by editing the file, <server>.exe.configor do I need to deploy my own implementation?

+4
source share
2 answers

.NET-, <server>.exe.config, , HTTP ,

<RaygunSettings apikey="YOUR_APP_API_KEY" excludeHttpStatusCodes="418" />

HTTP-,

<RaygunSettings apikey="YOUR_APP_API_KEY" ignoreFormFieldNames="password" />

/.

<add key="EnableRaygunLogging" value="True" /> Raygun.io.

+3

Raygun , API , .

<raygunSettings apiKey="" />
+2

Source: https://habr.com/ru/post/1622992/


All Articles