The Artima Developer Community
Sponsored Link

Java Answers Forum
Java Debug Level

1 reply on 1 page. Most recent reply: May 26, 2008 5:43 AM by Matthias Neumair

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
keshari lal

Posts: 3
Nickname: keshari
Registered: May, 2008

Java Debug Level Posted: May 26, 2008 2:57 AM
Reply to this message Reply
Advertisement
Hi all

Is there any way without using any IDE and "System.out.println" command,to debug a java programme by using command prompt.
I have heard about "Java Debug Level" in jdk,anybody can help me,that how can I set the Debug level?


Matthias Neumair

Posts: 660
Nickname: neumi
Registered: Sep, 2003

Re: Java Debug Level Posted: May 26, 2008 5:43 AM
Reply to this message Reply
This is an example how to log a error message.

All classes can be found in java.util.logging.
Logger.getLogger(MyClass.class.getName()).log(Level.SEVERE, null, ex);

Flat View: This topic has 1 reply on 1 page
Topic: Tomcat 6 clustering Previous Topic   Next Topic Topic: trying to check the length of an array with is a member of a generic class

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use