Thank you Paul for fast answers.

> > > You can do this in at least two ways.
> > > 1. Safe but more work
> > > Create a factory for your category.  Specify the factory in your
> > > configuration file.

> > Am I wrong ?
> The option is there in the DTD; but it is a new one that you might not
> have yet.  It was placed there in June.
Sorry for mistake (how to specify category in the XML) I meant "to specify
CategoryFactory in XML".

> > Should I write several factory classes for every my subsystem's type or
can
> > I use only one ?
> >
> I assume by "hierarchies (categories with subcategories)" you mean
> several different subclasses of the Category type.
yes

> Only with the XML
> cofiguration can you specify which category gets creaed by which factory
> at configuration time.
Unfortunatly I didn't find examples. (log4j 1.1.3) :(((

> If you use property configuration, the last
> factory configured creates the categories.
Ok..

- Yuriy.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to