Embedded Java Console?

Post here questions and problems related to oXygen frameworks/document types.
wmaclean
Posts: 36
Joined: Sat Jan 04, 2020 1:17 am

Embedded Java Console?

Post by wmaclean » Mon Aug 24, 2020 8:23 pm

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

Radu
Posts: 7315
Joined: Fri Jul 09, 2004 5:18 pm

Re: Embedded Java Console?

Post by Radu » Tue Aug 25, 2020 7:14 am

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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

wmaclean
Posts: 36
Joined: Sat Jan 04, 2020 1:17 am

Re: Embedded Java Console?

Post by wmaclean » Wed Aug 26, 2020 1:08 am

Thanks, Radu!

Post Reply