-
Logging API level problem
Hello,
I'm having a weird problem with the logging API. I've tried setting a logger's level below INFO, but it doesn't work. If I set it to SEVERE or OFF, for example, the messages below such level really are ignored; but setting it below INFO doesn't change anything. In this example, just the 2 last lines are printed. Is there some kind of mask somewhere else that I must change? I've searched the documentation and couldn't find anything about it.
Logger logger = Logger.getLogger("");
logger.setLevel(Level.ALL);
logger.finest("FINEST message");
logger.finer("FINER message");
logger.fine("FINE message");
logger.info("INFO message");
logger.severe("SEVERE message");
Thank you for your help,
Dhakir
Similar Threads
-
Replies: 0
Last Post: 10-30-2002, 04:40 AM
-
By Saiful in forum VB Classic
Replies: 8
Last Post: 03-04-2001, 07:28 PM
-
By Armando Cardenas in forum VB Classic
Replies: 10
Last Post: 07-12-2000, 02:22 PM
-
By Andreas Roth in forum VB Classic
Replies: 0
Last Post: 04-10-2000, 09:43 AM
-
By Mike in forum VB Classic
Replies: 2
Last Post: 03-16-2000, 01:35 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks