Hi,
on every request, I specify the logfile to use for logging, because the file
to use depends on time (I have one logfile per hour).
$logger = new Zend_Log();
$writer = new Zend_Log_Writer_Stream($path . "logfile-" . date("Ymd-H") .
".log");
$logger->addWriter($writer);
The problem is that even if I don't log anything, a logfile will be created.
I'll have a bunch of empty logfiles for each hour.
How can I avoid this ?
Thank you for any kind help.
--
View this message in context:
http://www.nabble.com/Empty-logfiles-tp20918479p20918479.html
Sent from the Zend Framework mailing list archive at Nabble.com.