As a java programmer I am an extensive used of Log4j. I love using it for
its simplicity.

Once you have had debug logs in your application, you can easily find the
problem in your code.
But gradually overtime you have so many debug log that waste time looking
for the log for one particular requirement or version.
The logs which you require to see are hidden in the logs from older changes
which you don't require.

To make the things easier I had come up with this idea.
In this tutorial you will come to know how to use log4j more effectively
where the logging is done only for a particular requirement or changes of
your.
I am hoping it will be useful for the community.

http://www.technimi.com/index.php?do=/neeraj/blog/version-based-logging-using-log4j/

I am open to any comments on this, so that I can improve upon the idea.

Also if some one knows if we can do it in a better way , I will be obliged

thanks...

/neer

Reply via email to