wood burning stoves 2.0
The moose likes Other JSE/JEE APIs and the fly likes Logging package Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Logging package" Watch "Logging package" New topic

Logging package

D Rog
Ranch Hand

Joined: Feb 07, 2004
Posts: 472

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?

Retire your iPod and start with HD Android music player Kamerton | Minimal J2EE container is here | Light weight full J2EE stack | and build tool | Co-author of "Windows programming in Turbo Pascal"
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
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

Joined: Feb 07, 2004
Posts: 472

Thanks a lot. I think that such approach will be the best.
I agree. Here's the link: http://aspose.com/file-tools
subject: Logging package
It's not a secret anymore!