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

Log4J Log File Parser

 
Sanjeev Subbaramu
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Folks:
I was told that there is a log4j log file parser java api. If anyone knows can you point me in the right direction?
Thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64185
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the Open Source Projects forum.
 
Pavan Panduga
Ranch Hand
Posts: 68
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when you have used xml pattern, there is a possibility read that log file and load each event into a
org.apache.log4j.spi.LoggingEvent
Object.

But I'm not really sure if that's what you are looking for. If you could provide some more information, may be it'll trigger people to respond with appropriate answers.

OK, looks like
org.apache.log4j.xml.XMLDecoder
is available in log4j1.3, It might help you to look at the source code.

Regards,
[ October 05, 2004: Message edited by: Pavan Kumar Panduga ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic