• Post Reply Bookmark Topic Watch Topic
  • New Topic

unable to capture messages from java.util.logging  RSS feed

 
Subhendu Panigrahi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a class called (Caller.java) which invokes a method called foo from another java class(Util.java) using reflection API.Now this method foo logs messages using Java's logger.My requirement is to call foo for 3 times from Caller and capture/redirect the log messages into 3 log files.
But only the first log file is capturing the log messages(from logger) and other two are not ?
Please suggest if I am doing something wrong here ?
Caller.java

Util.java

First Log file MyLog0.log:

Other 2 log files have only this much
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!