• Post Reply Bookmark Topic Watch Topic
  • New Topic

Logging APIs  RSS feed

 
Dalia Rojas
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Everybody:
I'm working on a project where we're looking at different logging
API's and the difference between the JDK 1.4 Logging API and the
Log4j Logging API from Apache. Does anybody have any experience with
this or an opinion as to which one is better?
Thanks in advance for your help.
Dalia
 
Gerry Giese
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Log4J API is more robust and many people have said that the logging API in JDK 1.4 was half-baked and should have been better before becoming an 'official' JDK API. Another really good API is Syslog, part of the Protomatter Project on SourceForge. Check out the links below for more info:
http://www.javaworld.com/javaworld/jw-04-2001/jw-0406-syslog_p.html
http://protomatter.sourceforge.net/latest/javadoc/com/protomatter/syslog/package-summary.html
http://protomatter.sourceforge.net/1.1.8-pre2/index.html
http://sourceforge.net/projects/protomatter/
Lately there seems to be a lot of people deciding that just because something is in the JDK that doesn't mean it should be used. This logging API issue is one example, another is that IBM went and wrote the SWT to use instead of AWT/Swing. Not sure about the XML parser in JDK 1.4, but people have been using many different parsers, and I don't think that very many people will change parsers just because one now exists in JDK 1.4. Investigate, research, and find out what works best for your project!
 
Dalia Rojas
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gerry,
Thank you for your help. I'll be checking those links out definitely.
Dalia
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!