|
This may sound like a stupid question, but where do messages from my Java program get logged (if anywhere)? Most of my Java experience is from the PC platform (using Eclipse).I would recommend using log4j to log information - this can be redirected to a file and all.
From an interactive job, I have a CL program the calls an an ILE RPG program that in turn instantiates my Java class. The RPG program then calls one of the Java class methods. When the Java class file runs, the screen changes (QSHELL?) and messages flash very quickly (way too fast for me to read them). Some of the messages are generated from System.out.println(), some are from Exception.printStackTrace() and some are from thrown Exceptions. As soon as control returns back to the RPG program the green screen changes back to the normal environment and the Java messages are gone.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.