I've noticed that exceptions thrown from org.apache.activemq.util.IdGenerator.java are logged using a java.util.logging.Logger, instead of a commons logging logger. As a result, the log4j config used for activemq is ignored for log output from this class.