What is the use of log4j and how to make use of
that in a application?
Answer Posted / suresh gangula
log4j can be used for writing the log messages to various
kinds of destinations like a file, database, console etc...
It is always advisable to use some sort of logging API to
generate the log messages.the log messages helps the end
user as well as the developer of the application, to kow
about what the application has done and why the application
has failed, etc...
It is developed by Apache and this is used as part of
various products like hibernate, struts, strings etc...
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
How is hashset maintained in memory by java ?
What are the types of java collections? : java collections
What is java collection? : java collections
Hi Friends , am newbie to ajax. For example just consider one account registration - A form contains 8 text fields with submit button. In this form second texbox contains "username " . On right side of text box there is a label box . On clilck action i need to determine user is available or not. Is it possible on clicking label or should i click submit button.
What is deque in the java collections framework? : java collections
What is the difference between comparable and comparator in java.util pkg?
What are the different types of classes implemented in the set interfaces? : java collections
What are the classes in the java collection framework? : java collections
can u draw class/object diagram for ATM
What are maps interfaces in the java collections? : java collections
What is the use of hashcode in java ?
What is the enumerator of the java collection framework? : java collections
How do I find jre path in windows?
please mail me the interview question based on java/j2ee
Hi Friends, i have searched in google but not clear. can you give bank example with synchronized keyword