Hi,

I have a plugin called at every request, which is choosing the right file
for the logging.
I create a log for every hour.

The problem is that if there is a new request, even if there is nothing to
log, a new file is created. 
Consequent: I have tons of logging files for each day each hour.

$path = [...]
$logger = new Zend_Log();
$writer = new Zend_Log_Writer_Stream($path . "logfile-" . date("Ymd-H") .
".log");
$logger->addWriter($writer);

Can anyone help please ?

Thank you !
-- 
View this message in context: 
http://www.nabble.com/Logging-issue---need-help-tp16132558s16154p16132558.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to