Details
-
Type:
New Feature
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: future
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
We must allow applications to customize the LogTargetFactory and other excalibur-logger factories that they use in their configuration. To do this we need to make it possible for the kernel and the application to share the classloader that they are in.
To do all this we need to separate out API layer for excalibur-logger and create a named classloader for it. This classloader would extend the logkit/framework classloaders but nothing else.
We then need to enhance excalibur-logger so that it can create factories from specified classloaders.
This should be possible using something similar to the per-block classloaders. An application can have a 'logger' classloader that the container uses when constructing the log factories.