rappen / PluginTraceViewer

Investigate the Microsoft Dataverse Plugin Trace Log with easy filtering and display possibilities

Home Page:https://JonasR.app/PTV

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prompt users to set Trace Log Settings to Off when they close the Plugin Trace Viewer

JimDaly opened this issue · comments

Microsoft recommends that the Organization.PluginTraceLogSetting value is set to Off (or at least Exception) unless people are actively using tracing to debug.

It is easy to forget to change this back when you are done. Leaving this set to All in particular can help fill up the DB tables and lead to decreased performance.

To help remind people of this best practice when using the PTV, I think it would be great if there was a prompt when closing to provide an opportunity for them to set the value to Exception or Off.

WIll this do?

image

Shown when closing PTV and current setting is 'All'.
No message if setting is 'Exception' or 'None'.
If user wants to change to 'Exception' just click Cancel and change manually.

Nice!