Hi folks,
Looking at the recent change in LogKitManager, I was wondering about the Hierarchy management. At first, the LogKitManager used the default hierarchy, and now it always creates a new one.
While this doesn't affect components that get their logger through the ComponentManager, it does affect logging of low-level non-component classes that get a logger using Hierarchy.getDefaultHierarchy(). I have plenty of them here (switched to LogKit from Log4J in which this is the preferred way).
So, it would be good for the Hierarchy management to be configurable in LogKitManager :
- at the minimum with a boolean configuration telling whether using the default hierarchy or creating a new one.
- at the best with a pluggable HierarchyFactory.
Thoughts about this ?
-- Sylvain Wallez Anyware Technologies - http://www.anyware-tech.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
