I just tried the variable substitution solution. It only works on
"option values".
I can't use a variable for a class name, ie the configurator will
complain of not being able to instantiate that class.
I set variables on top of the configuration file and didn't try the
log4j.properties way.
Anyway, It solved part of the problem.
Thanks to all,
Jin
>Anders.
>
>Jin's request can be answered satisfactorily by variable
substitution as another user suggested earlier.
>
>A very important point to keep in mind is that layout instances are
not intended to be used by multiple appenders, but a given appender
>can be attached to multiple categories. (Synchronization is done
at the appender.doAppend level.) Layout code relied on the fact that
its
>environment is thread safe so that it doesn't need to worry about
thread-safety itself.
>
>
>References to layouts is a bad idea even if it can be supported
with new configurator syntax. Regards, Ceki
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]