What is the use of log4j and how to make use of
that in a application?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / ramarao
log4j is a mechanism to find out the proper execution flow
of our application.
for this we use third party tool log4j developed by apache.
| Is This Answer Correct ? | 3 Yes | 0 No |
what is difference between business deligate and session facade ?
what is the difference between through and throws?
What is a constructor?
Runining mutiple tomcat server in a single machine is possible Yuo wil have to duplicate configuration with different port numbers
In hyderabad, which s/w training center is best for java, other than corejava what r the new tools to learn in java,which tool is best & have current requirement,pls give me information about java to learn ?
What is the use of hashcode in java ?
what about web architecture?
Is it possible to create Userdefined Unchecked Exception also?If Yes, give an example?
where is JNDI being used in java platform?
What is an algorithm in java collection framework? : java collections
what are advantages of HQL? what are advantages of Native SQL? what are advantages of Criteria API?
How to call the m1() method of Base class in below snippet ? class Base { public void m1() { System.out.println("Base m1 "); } public void m2() { System.out.println("Base m1 "); } } ====================== class Derived extends Base { public void m1() { System.out.println("Derived m1"); } public void m3() { System.out.println("Derived m3"); } public static void main(String[] args) { Base ob=new Derived(); ob.m1(); //System.out.println("Hello World!"+ob.m1()); } }