How to enable 'Debug' and 'Trace' logging for users from plugin code?

I want to enable Debug and Trace log levels for users by programmatically from plugin code.

Is there a way to achieve this within the plugin code itself?

I see that users can manually configure it by navigating to Help → Diagnostic Tools → Debug Log Settings ..., and adding the required debug instructions (Java package name and log level), and clicking 'OK'.

However, I would like to automate this within the plugin code.

I would appreciate any feedback or solutions

1 Like