I have used Log4j and JDK Logger both for logging purpose, so i find it same as implementation. But now, i have to write a logging framework, which will help logging.
I think that JDK Logger is faster than Log4j, but Log4j is more flexible than JDK Logger. I am very confused which one to use.
My requirement, to log at multiple levels depending upon the user credentials, business logic complexity and database access layers, and service levels. Intimate the admin for any exception occurred. and much many more requirements.
Thanks.
UPDATE:
I just read in the log4j documentation, that log4j is capable of sending emails, whenever there is an error and/or exception. So, how to configure that.