Plugin dependencies not logging

Answered

Dear IJ Team,

I have simple plugin taking few in puts and talks to our dependency libs .  While development (runIDE) I could see parent IJ instance logging from all dependency  libraries. But when installed as plugin no logs found ( idea.log just logging plugin classes newly created with wrapper). This is difficult situation to use plugin with out able to see/generate logs.

I tried to add sl4j over log4j (as dependency application libs uses log4j) but doesn't seems to be a solution.

could you throw some light please how this can be solved any configuration settings IJ offers?  

0
7 comments

What logging framework are these libraries using? Did you set logger/level accordingly for them in the IDE installation? https://plugins.jetbrains.com/docs/intellij/ide-infrastructure.html

0

Log4j,  libs are using.. yes log level on Info.

As I mentioned while runIDe able to show log why plugin when installed No logs showing on editor ?  

0

Please try setting corresponding categories additionally in the IDE via Help | Diagnostic Tools | Debug Log Settings. https://plugins.jetbrains.com/docs/intellij/ide-infrastructure.html

0

definitely plugin not adding any in-line log like local applicaion. There must be way to configure that. any advise

0

Sorry but I don't understand your last comment.

0

Apologies for not being clear.  

if you run/execute any class you can see logs appearing under run. but when I run plugin ( which interacts with application) I don't see any log being attached or appearing under run as foreground process like executing any task or class main

 

0

Please sign in to leave a comment.