Ok, remember when I said I had a hack to change the context logger? Well,
that's come around to bite me now. If I call
Component.getContext().getDispatcher(), by default I get a nice
TemplateDispatcher. However, because I have to create a new Context to set the
logging in, calling getDispatcher() on it will return null. (The code in Context
as it stands is
public Uniform getDispatcher() {
return null;
}
)
Thus, when I override the default Component context with this new context, any
future calls to getDispatcher() will fail (or more accurately, will return
null). Where and how does the Component's Context's default Dispatcher get set,
so I can do the same with mine?