Reputation: 21
what are the systematic steps to replace system.out.println with loggers.info in java eclipse project.
Also please mention the steps to add jars, configure log4j etc.
Upvotes: 2
Views: 5110
Reputation: 755
Please check this link http://www.mkyong.com/logging/log4j-hello-world-example/. If you are using maven then add dependency for log4j.jar, otherwise download jar file and add it to your classpath.
Upvotes: 1