So I don't know if 27 is old, but man do I feel it when today I finally created an account at del.icio.us! "Why does that make you feel old", you ask? Because I'm usually the first in line for new tech, a fad, or a new site/service, especially if its popular. I've been hearing about del.icio.us for a long time now but didn't really know what it was until a day or two ago. My friend Tim explained folksonomy to me and I associated it with Flickr. He mentioned del.icio.us as another example and so I finally learned what del.icio.us is, a bookmark sharing service.
So in my previous post I explained how to simplify your logging with Maven and SLF4J. If you haven't read it yet, please do before reading more. Since then I've discovered an easier and cleaner way to remove the secondary frameworks from your Maven dependency tree. Here's a revised overview of the steps: Decided which logging framework will be your primary, aka who will actually write to your log file. Define the dependency scope of all the secondary frameworks to be ' provided '. Configure your project to depend on drop-in replacements of each secondary framework from SLF4J. Define secondary frameworks as provided Use the dependencyManagement section for this. Its used when you might have a dependency transitively. Add dependency on SLF4J Add the following to your pom.xml Conclusion So now in only 3 steps you can redirect all your logging to your primary logging framework without changing a line of code!