aspose file tools*
The moose likes Java in General and the fly likes java.util.logging Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "java.util.logging" Watch "java.util.logging" New topic
Author

java.util.logging

Ambrose R Tati
Greenhorn

Joined: Nov 06, 2000
Posts: 21
Dear all,
I would like to create a Logger for my Java class using java.util.logging with the ability to log different Levels in different files, e.g. Level.SEVERE logs in one file and Level.INFORNATION in another file. Currently I'm logging all Levels in the same file.
How can it be done?
Many thanks
Ambrose
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
Check the JavaRanch newsletter. I wrote an article on logging a couple of months ago and I cover writing your own logger classes.


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
The JavaRanch Newsletter. His article was in the May edition.


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.util.logging