This is one of the simple method for logging. Here we are not defining log4j configuration using configuration file. Continue reading
Step 1 :
Download log4j from the above url. Iam using log4j 1.2.17. You can use any latest version if available. Extract zip folder to a location.
Step 2 :
create new java project as shown in the below screen shot. Continue reading
Introduction to log4j Framework :
1) Log4j is an open source framework for logging. Continue reading
Different logging frameworks are available for java platform. some of the mostly used logging frameworks are given below :
1) JDK logging : JDK has provided api for logging since java 1.4.It has some classes and interfaces for logging. Continue reading
What is logging?
logging is nothing but monitoring the state of application at runtime.Now a days logging has become a part of every application. No application in this world is bug free. In order to reduce the burden on developer and to trace the application where it is going wrong logging framework is helpful for us. Continue reading