As Alison Ortega mentioned, log4j configurators support the substitution of system properties, actually properties in general. Quite a handy feature...

At 09:48 AM 12/10/2003 -0500, Alison Ortega wrote:
I do this:

<appender name="prfLogFile"
class="org.apache.log4j.DailyRollingFileAppender">
    <param name="File"
value="${acsauth.loghome}${file.separator}prf${file.separator}prf.log"/>
    ...

and set the java properties - this config is portable btw windows and
solaris.  Is this what you meant?

Alison Ortega
North Carolina State University
ACS
Systems Programmer II
919-513-1417

-- Ceki Gülcü

For log4j documentation consider "The complete log4j manual"
ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp




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



Reply via email to