views:

14

answers:

1

My app uses many libraries and I'm using java.util.logging for logging. I'd like to be able to set different logging levels for each library by doing something like:

org.datanucleus.*.level = WARNING

com.google.apphosting.*.level = WARNING

com.myapp.*.level = FINE

Is is possible?

A: 

Yes. You can do exactly what you want.

http://www.crazysquirrel.com/computing/java/logging.jspx

hvgotcodes