my dog learned polymorphism*
The moose likes Other Open Source Projects and the fly likes where will be the log4j class in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "where will be the log4j class in java" Watch "where will be the log4j class in java" New topic
Author

where will be the log4j class in java

bharani rao
Ranch Hand

Joined: Apr 06, 2009
Posts: 164
hi, m new to log4j..
where will it be??
what class i ve to import??
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3825

where will it be??
what class i ve to import??


You need the log4j downloaded from here. Check the documentation for how to use it. BTW it's not part of the Standard Java Distribution.


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
bharani rao
Ranch Hand

Joined: Apr 06, 2009
Posts: 164
i do not know anything about this log4j...
kindly give some steps to use it...
i have downloaded apache log4j 1.2.15
wats next??
plzzz
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10268
    
    8

Please check your private messages for an important administrative matter.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3825

Log4j is used for logging purposes where you need to log certain events (exceptions, different messages) from the system to some file or console, where you can see what's happen in the application (just like you do System.out.println() in normal java program to see some output in the console). But log4j has many advantages when using (like we can code the log messages with different levels and at the deploy time of the application we can customize it to log certain levels of messages only). You will find basic examples and more explanations in the manual, which resides inside your downloaded file as well.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10268
    
    8

Please do take out time to read this http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch,
especially the links on using real words.

For more information on using log4j take a look at http://faq.javaranch.com/java/OtherOpenSourceProjectsFaq
Moving this thread to a more appropriate forum.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: where will be the log4j class in java