Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Debug logging in custom plugin #3691

jgeorgeson ·
I'm trying to debug a custom plugin, first with extra debug logging.

Context.getLogger().debug("...")

I've tried setting my development server to run with debug in a couple of ways

[list]




[/list:u]

And I just don't ever see any of these log messages being printed. I set some breakpoints and stepped through the plugin code so I know that the calls were made.

So I tried changing them from debug() messages to info() messages, and I still don't see them in any log file or the build log. Annoyingly, I do see some error() messages in the build logs. So I know that the Context.getLogger() object is able to log stuff.

On a side note, I'm using Eclipse Neon and a 1.8 JDK with my plugin configured for JavaSE-1.7, and am finding that my plugin project from my workspace is not being included in the server instance that is launched by the IDE. So I have to got export the plugin, install it to the server instance from where I added the QB plugins to my IDE, and then run.
  • replies 1
  • views 509
  • stars 0
robinshen ADMIN ·
Are you able to find your plugin in plugin management page?