× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



What's in your Log.properties file?

I just ran your code on our V5R1 system and it worked fine.

java -Djava.version=1.4 LogTest
Entered Program
Got Logger
Starting to log messages
Aug 5, 2005 8:37:11 AM LogTest
SEVERE: my severe message
Aug 5, 2005 8:37:13 AM LogTest
WARNING: my warning message
Aug 5, 2005 8:37:13 AM LogTest
INFO: my info message

david

Chris Wolcott wrote:
> I have the following test program I pulled from
> http://javaalmanac.com/egs/java.util.logging/BasicLogging.html
> 
> It works fine on the PC, put when I run it on the iSeries (V5R1, JVM
> 1.4.2) I get " Java program completed with exit code 1".  If I run it in
> QSH it goes for a bit then returns, but displays nothing. If I run it
> with -verbose, I get pages of classes loading, the last being security,
> but still no program output.  My session JOBLOGs don't have anything in
> them.
> 
> Do I have to do something with a SecurityManager?
> 
> Any ideas?

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.