java.util.logging

Sun mostly sticks with java.util.logging (jul) in their products. jul is fairly unflexible but we need to live with it. However I usually would use log4j with slf4j as logging facade. In order to get more control over jul logging output you can use the slf4j to java.util.logging bridge. Here I show how to set it up with Spring and Maven


		
			org.slf4j
			jul-to-slf4j
			1.5.4
		
		
			org.slf4j
			slf4j-log4j12
			1.5.4
		
		
			log4j
			log4j
			1.2.15
			
				
					com.sun.jmx
					jmxri
				
				
					com.sun.jdmk
					jmxtools
				
			
		

Leave a Reply

green red blue grey