How to change IntelliJ IDEA logging level?

I am using IJ 2017.1.3 and am currently trying to fix a local issue related to gradle import in IDEA. I found that the idea provides logs using Help -> Show log in finder/explorer , but only the INFO level.

I also found an option in Help -> Debug log settings... where I have to provide categories. I tried the following configuration, but still only the INFO level in idea.log file

 ij.compiler org.jetbrains.plugins.gradle 

I can misunderstand what the category means here. Any ideas?

+6
source share
1 answer

So, there are some resources from the Jetbrains people, but the page that correctly explained this part was just that .

You must specify the fully qualified class name that you need for debugging. Perhaps this does not match the registrar's registered name for this class. For example, if you use com.intellij.openapi.diagnostic.Logger , then # will be added before it in full name, for example, for the class com.example.MyClass you will be #com.example.MyClass .

I checked the thing and it works. Remember that if you use the IntelliJ sandbox to test your own plugin, then you must set up the debug configuration in the working sandbox, and not in the IDE that you use for development purposes.

0
source

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


All Articles