Actually just

System.setProperty("fvis.logging.logfile",mylog);

and in your config file

  log4j.appender.PgmLog.File=${fvis.logging.logfile}

should be enough. No need to go through another variable.


At 07:31 PM 11/29/2004, you wrote:

allow java client to name log file via system property.

System.setProperty("fvis.logging.logfile",mylog);

pick up as variable in properties file

FVIS.LOGFILE=${fvis.logging.logfile}
log4j.appender.PgmLog.File=${FVIS.LOGFILE}


-- Ceki G�lc�

The complete log4j manual: http://qos.ch/eclm
Professional log4j support: http://qos.ch/log4jSupport




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



Reply via email to