Turning On Debug On IDEA

Hi,

Whilst developing a plugin, I believe it would be useful if I could turn on debug on IDEA. I'm already directing messages to stdout and stderr on the idea.lax file. If I use the logger.debug() supplied in one of the intellij packages, how do I then set the log4j.xml to turn it on?

-=david=-

0
3 comments

Hi,

Yeah, I do this already, but I find it a bit overkill just to get some trace dumped out to a file. There are times when I don't need to connect to an instance of Idea running, but would rather just examine the contents of file that Idea generates.

Thanks for your reply, althought :)

-=david=-

0

Hello David,

DH> Hi,
DH>
DH> Yeah, I do this already, but I find it a bit overkill just to get
DH> some trace dumped out to a file. There are times when I don't need
DH> to connect to an instance of Idea running, but would rather just
DH> examine the contents of file that Idea generates.
DH>
DH> Thanks for your reply, althought :)
DH>
DH> -=david=-
DH>

in java if you have

log = Logger.getInstance("myplugin.MyLog");
log .debug("something");

Add this to your IDEA_DIR/bin/log.xml

or turn on all your logs under the package myplugin use ]]> instead.

I hope this time I answered your question ;)

Jacques

0

Please sign in to leave a comment.