From f56a3799ded6b18c98eb9810d9e4c79a9c23c796 Mon Sep 17 00:00:00 2001 From: xue <> Date: Thu, 19 Jan 2006 14:40:15 +0000 Subject: Updated "personal" demo. --- framework/Log/TLogRouter.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'framework/Log/TLogRouter.php') diff --git a/framework/Log/TLogRouter.php b/framework/Log/TLogRouter.php index 5e54e939..6979849f 100644 --- a/framework/Log/TLogRouter.php +++ b/framework/Log/TLogRouter.php @@ -68,6 +68,7 @@ class TLogRouter extends TModule throw new TConfigurationException('logrouter_configfile_invalid',$this->_configFile); } $this->loadConfig($config); + //$this->getApplication()->attachEventHandler('Error',array($this,'collectLogs')); $this->getApplication()->attachEventHandler('EndRequest',array($this,'collectLogs')); } @@ -317,7 +318,7 @@ class TFileLogRoute extends TLogRoute /** * @var integer maximum log file size */ - private $_maxFileSize=1024; // in KB + private $_maxFileSize=512; // in KB /** * @var integer number of log files used for rotation */ -- cgit v1.2.3