summaryrefslogtreecommitdiff
path: root/framework/Log
diff options
context:
space:
mode:
authorxue <>2006-01-19 14:40:15 +0000
committerxue <>2006-01-19 14:40:15 +0000
commitf56a3799ded6b18c98eb9810d9e4c79a9c23c796 (patch)
tree038fa75c15d700382e62960afae70f474055b887 /framework/Log
parent1bfd7c4641e0457ac558cf74290a6a7ff1a3af58 (diff)
Updated "personal" demo.
Diffstat (limited to 'framework/Log')
-rw-r--r--framework/Log/TLogRouter.php3
1 files changed, 2 insertions, 1 deletions
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
*/