Mayur
Mayur

Reputation: 21

what are the steps to replace system.out.println with loggers in java eclipse project?

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

Answers (1)

Vikas Sharma
Vikas Sharma

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

Related Questions