This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes Logger (set log level) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Logger (set log level)" Watch "Logger (set log level)" New topic

Logger (set log level)

Stefan Gerber
Ranch Hand

Joined: Mar 08, 2008
Posts: 33
Ich use different loggers. The form of the logger name is xxxx.yy.zzzz
Now i would like to change the log level for all xxxx loggers.

I do it like this and it seems to work but it's not really my favorite.
Are there other solutions?

I agree. Here's the link:
subject: Logger (set log level)
Similar Threads
Logging "FINEST" messages using java Logger
Dynamically setting logging level (java.util.logging)
logging in SUN AS and JSR047
Using LogManager
Hierarchical logging