I am trying out Log4j right now. I want to implement a logging component which will be responsible to log all the important events of the entire web application run.
Can you please suggest me a cool strategy of implementing this so that I can easily generate logs and store them to various file locations and make them Archive too.
I have gone through the API and found nice code that will work great. But I am not able to come up with a GENERIC component for logging. And little confused where to put logging code. Since it�s the first time I am trying LOGGING.