Plug in will not run with log4j [message #693531] |
Wed, 06 July 2011 16:52 |
Thomas Missing name Messages: 5 Registered: July 2011 |
Junior Member |
|
|
I am running Eclispe 3.4.1 on XP
I have a plugin that runs OK, if I try to put log4j in it does not run. I add this line:
static private Logger logger = Logger.getLogger(Handler.class);
And that class does not run, there aren't compile errors. I have System.out.println that do not print when I have above Logger definition. When I comment that line the class will execute fine. I am not getting any output, no errors with definition included.
I have a separate class in the same project which I run with log4j as an application (for testing) and it works fine, so the log4j library is visible in that same project as plugin.
|
|
|
Powered by
FUDForum. Page generated in 0.07140 seconds