Configuring log level in idea.log

I wrote an IntelliJ plugin which leaves records in idea.log. Sometimes when investigating issues INFO level is not enough, so I'd like the user to switch to DEBUG level for my plugin, reproduce the problem and gather log once again.
As far as I discovered, to switch level for the plugin changes should be made in <IDEA_HOME>/bin/log.xml. The problem here is that on Mac OS with enabled Gatekeeper changing that file will break application — it won't startup with "The application ... is damaged ..." unless user disables Gatekeeper or runs "xattr -rc /path/to/idea/app".

So I wonder whether it is possible to put customized log.xml in some other place that won't bother Gatekeeper (e.g. under ~/Library/...) or maybe there's just other way to configure idea.log log level?

2 comments
Comment actions Permalink

Your users can set DEBUG level for manually overridden categories via menu Help->Debug Log Settings

0
Comment actions Permalink

Wow, so easy! How did I miss this menu item?
Thank you very much, Yann!

0

Please sign in to leave a comment.