You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4php-dev@logging.apache.org by sivamurugan <p....@gmail.com> on 2010/04/19 09:21:31 UTC
log4php.properties
log4php - Change log file Name dynamically in log4php.properties
how can i change the log file name and path in log4php.properties
dynamically
log4php.appender.A8.File=../logs/logs.log
Thanks in Advance
--
View this message in context: http://old.nabble.com/log4php.properties-tp28287612p28287612.html
Sent from the Log4php - Dev mailing list archive at Nabble.com.
Re: log4php.properties
Posted by Christian Grobmeier <gr...@gmail.com>.
Hi,
you'll need to do it programmatically
Its more like
Logger:getLogger("yourlogger")->getAppender("appender")->setFileName("name");
(from mind, so please go for the phpdocs here)
Best regards,
Christian
On Mon, Apr 19, 2010 at 9:21 AM, sivamurugan <p....@gmail.com> wrote:
>
> log4php - Change log file Name dynamically in log4php.properties
>
> how can i change the log file name and path in log4php.properties
> dynamically
>
> log4php.appender.A8.File=../logs/logs.log
>
> Thanks in Advance
>
> --
> View this message in context: http://old.nabble.com/log4php.properties-tp28287612p28287612.html
> Sent from the Log4php - Dev mailing list archive at Nabble.com.
>
>