Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

unable to capture messages from java.util.logging

Subhendu Panigrahi
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a class called ( which invokes a method called foo from another java class( 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 ?

First Log file MyLog0.log:

Other 2 log files have only this much
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic