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
Hi frnds how to lock an user when he enter wrong credentials more than 3 time using java or j2ee tech take username and password in a bean no need to connect DB and validate give me some sample application code or links its urgent for me thanks in advance
What are the different types of ways where you can iterate over a list? : java collections
What are maps interfaces in the java collections? : java collections
What are the differences between the java collection and the java list? : java collections
please mail me the interview question based on java/j2ee
What is iterator in the java collections framework? : java collections
HOW MUCH PERCENTAGE WE DEDUCT FOR OUR SUPPLIERS OR OTHER PROFESSIONALS
What is the use of hashcode in java ?
What are the types of interface used in the java collections? : java collections
How do I find jre path in windows?
can u draw class/object diagram for ATM
What is the use of the list interface in the java collection? : java collections
What are the considerations to be made in case of loops in java ?
Which java collection class can be used to maintain the entries in the order in which they were last accessed?
What are the classes in the java collection framework? : java collections