Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.util.logging

 
Ambrose R Tati
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please do not cross post. All responses in JiG(Advanced) please.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic