Results 1 to 2 of 2
  1. #1
    rnvrnv is offline Member
    Join Date
    Jul 2010
    Posts
    10
    Rep Power
    0

    Default Java Logger - Problem

    Hi,

    I am using java.util.logging.Logger and would like to display log messages in Console. It displays messages with level INFO and above but does not display below it (e.g. FINE)

    here is how I use it.

    Java Code:
    final static Logger logger = Logger.getLogger(MyClass.class.getName());
    logger.setLevel(Level.FINER);
    
    logger.info("INFO");
    logger.fine("FINE");
    logger.finer("FINER");
    logger.finest("FINEST");
    will appreciate help
    regards,
    rnv

  2. #2
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,562
    Rep Power
    25

Similar Threads

  1. Replies: 5
    Last Post: 03-17-2011, 02:26 PM
  2. log4j class logger disabling
    By lowlyintern in forum Advanced Java
    Replies: 2
    Last Post: 06-17-2010, 02:51 PM
  3. Logger and file lock
    By segolas in forum Advanced Java
    Replies: 3
    Last Post: 01-14-2010, 04:02 PM
  4. Java Logger ( How to control it better)
    By itaipee in forum New To Java
    Replies: 3
    Last Post: 03-03-2009, 10:35 PM
  5. Help with key Logger in java
    By paul in forum Advanced Java
    Replies: 1
    Last Post: 08-07-2007, 05:14 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •