• Post Reply Bookmark Topic Watch Topic
  • New Topic

Q abt INFO Level in java.util.logging  RSS feed

 
Ravi Sathish
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have a logger class with a File Handler and a pattern(logFile);


I set the log level to Level.INFO; Now the log messages not only get written to the logFile but also gets written to the console. This happens only when the logLevel is INFO not when logLevel is CONFIG or WARN or FINE.

I made sure that only 1 log handler is registered to logger


Could you please tell me why the logInfo messages are displayed on the console? is there a workaround to prevent these messages from getting logged to the console

TIA
Ravi
[ February 15, 2006: Message edited by: Ravi Sathish ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!