c# - How to disable Raygun.io client via app configuration? -


i have raygun.io client integrated latest release of our server application run enterprise customers. unfortunately, of them may not send data outside of network , want disable raygun.io client.

my question if there in raygun.io library allows them disable editing <server>.exe.config file or need roll out own implementation?

based on their .net client implementation, have couple of configuration options via <server>.exe.config, excluding errors http status code,

<raygunsettings apikey="your_app_api_key" excludehttpstatuscodes="418" /> 

or removing sensitive data http request,

<raygunsettings apikey="your_app_api_key" ignoreformfieldnames="password" /> 

but nothing enable/disable switch.

you have add own app setting <add key="enableraygunlogging" value="true" /> , programmatically check value when using raygun.io client.


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -