Hi,
I've tried to create an easy per deployment logging possibility without many fuss with
package prefixes / repository selectors / TCLFilter etc.
This service will look for a log4j.xml or .prop in the META-INF directory of all
deployments, and create and register the logger for the deployment.
I'm almost finished, but one part is missing: Web deployments does not publish the
context loader before 'start' step, but the classes (and loggers) are created in
the 'create' step.
Basically this means I cannot identify the deploymentinfo from the thread's
classloader. Is there a reason why the context loader only set at the end of create into
the webmetadata?
Or is it a way around this 'limitation'?
You can have a look at my code at: hxxp://212.52.164.42/jboss/
Any help welcome!
Cheers,
Tamas
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4004568#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...