• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

Q abt INFO Level in java.util.logging

Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

[ February 15, 2006: Message edited by: Ravi Sathish ]
    Bookmark Topic Watch Topic
  • New Topic