Monthly Archives: January 2011

Log4j API – Sample Programs


Log4j Examples: The basic example to implement the Log4j: import org.apache.log4j.Logger; public class LogExample { public LogExample() { } static Logger log = Logger.getLogger(LogExample.class); public static void main(String argsp[]) { log.debug(“projectname-modulename-Class-method-Here is some DEBUG”); log.info(“projectname-modulename-Class-method-Here is some INFO”); log.warn(“projectname-modulename-Class-method-Here is

Posted in Log4j

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 678 other followers

Calendar
January 2011
M T W T F S S
« Nov   Jul »
 12
3456789
10111213141516
17181920212223
24252627282930
31  
Mallikarjun Gunda

This is Mallikarjun Gunda, I am working as a software professional. Blogging is my Passion. This blog contains the posts on Java related technologies and programming languages. I am happy to share my knowledge through the blogs.

Blog Stats
  • 284,851 hits
IndiBlogger
malliktalksjava.wordpress.c...
70/100