Vinay Aggarwal

Subscribe to Vinay Aggarwal: eMailAlertsEmail Alerts
Get Vinay Aggarwal: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn

Top Stories by Vinay Aggarwal

During our last project we needed a logger but didn't want to develop our own, so we looked for third-party logging APIs. We found a few and experimented; one of them, log4j, far outshone the others. It helped us so much in tracing and debugging our problems that we recommended it for other projects, where it also got rave reviews. This API was developed by IBM at their Zurich research lab ( Initially, IBM posted it on its alphaWorks Web site (, but has since moved it to an open source organization, Source Forge ( It can also be accessed at The Need for Tracing and Logging Two methods are widely used for debugging: you can either step through the code in a debug environment or you can add debug statements in your code, run the code, and analyze the log generated. The problem with the fir... (more)