Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Logging package

 
D Rog
Ranch Hand
Posts: 472
Linux Objective C Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a task to add a logger in Java application. I got recommendation for log4j. Do I have any other options like Java logging package or other 3rd parties products? Proc/cons?
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
log4j is one possibility, as is the Java logging packgae (which requires at least Java 1.4). You could also look into Jakarta Commons Logging, which can act as a frontend for both these packages (and some others), and lets you switch between them easily.
 
D Rog
Ranch Hand
Posts: 472
Linux Objective C Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot. I think that such approach will be the best.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic