File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reading from Logger log file

 
Maneesh Godbole
Saloon Keeper
Posts: 10971
11
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working on a swing application which logs (using java.util.Logger) activities based on certain criteria.
In the same application, I also need to provide a log analysis and audit functionality. I am planning to use JFreeChart for this purpose.

The logs generated are in XML format with typical <record></record> tags (which correspond to my customized LogRecord, which has all the getter and setters I require) and the record contains all the information I need.

Is there any way I can read from the log file and reconstruct the customized LogRecord? Please note I am not a server side coder and as such SAX and DOM and parsers are all greek to me!
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic