Page 1 of 1

Embedded Java Console?

Posted: Mon Aug 24, 2020 8:23 pm
by wmaclean
Hello,
Is there some way to open a console to view what's going to Java System.out while an Oxygen plugin is running in Oxygen?

Looking for some troubleshooting options.

Thanks,
Will

Re: Embedded Java Console?

Posted: Tue Aug 25, 2020 7:14 am
by Radu
Hi Will,

In the Oxygen installation folder there should be an "oxygen.bat", if you start Oxygen using that command line executable the command line window should show you all System.err and System.out's from the application.
Or of course your plugin can intercept itself the System.err and System.out and display them in a custom side view.
Or if you choose to use the Apache Log4j 2 logger for logging (which we also use in the Oxygen code) you can add a logging configuration file to Oxygen and direct all logging to a file for example:

https://www.oxygenxml.com/doc/versions/ ... -form.html

Regards,
Radu

Re: Embedded Java Console?

Posted: Wed Aug 26, 2020 1:08 am
by wmaclean
Thanks, Radu!