File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Logging package" Watch "Logging package" New topic
Author

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
Marshal

Joined: Mar 22, 2005
Posts: 41497
    
  53
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.


Ping & DNS - my free Android networking tools app
D Rog
Ranch Hand

Joined: Feb 07, 2004
Posts: 472

Thanks a lot. I think that such approach will be the best.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Logging package