Sandbox IDEA in DEBUG mode

Hi

When I launch the sandbox IDEA from within the PluginDevKit and have the option 'Show idea.log' enabled, it does not seem to show logging messages below the INFO level. Is there a way to have the sandbox IDEA launched using the DEBUG level as the default level? And is there a way to set a specific log level just for one logger?

I'm a bit confused how much is IDEA logging API specific and how much is log4j logging API behavior.

I'm looking forward to any help/clarification on this.

etienne

2 comments

etienne wrote:

When I launch the sandbox IDEA from within the PluginDevKit and have the option 'Show idea.log' enabled, it does not seem to show logging messages below the INFO level. Is there a way to have the sandbox IDEA launched using the DEBUG level as the default level? And is there a way to set a specific log level just for one logger?


There is no dedicated support for setting logging options in DevKit run
configurations, but you can edit IDEA-HOME/bin/log4j.xml and add the following
lines just above the "" element to enable debug logging for a certain category: ]]>

HTH,
Sascha

0

Hi Sascha

That works fine. Thanks!

etienne

0

Please sign in to leave a comment.