summaryrefslogtreecommitdiff
path: root/framework/Log/TLogRouter.php
diff options
context:
space:
mode:
authorxue <>2006-02-08 22:33:11 +0000
committerxue <>2006-02-08 22:33:11 +0000
commit682d48577ae6e0118a11e5e6134fdbbb6048456d (patch)
treef1210e77e88ff2dc4e565f78fdf0227ee5c80ebb /framework/Log/TLogRouter.php
parentb4103f28384d4ce9b5dc8e8a1abfda378eb42db0 (diff)
Updated application lifecycle and related tutorial description.
Diffstat (limited to 'framework/Log/TLogRouter.php')
-rw-r--r--framework/Log/TLogRouter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Log/TLogRouter.php b/framework/Log/TLogRouter.php
index 06877f0f..5326b598 100644
--- a/framework/Log/TLogRouter.php
+++ b/framework/Log/TLogRouter.php
@@ -68,7 +68,7 @@ class TLogRouter extends TModule
throw new TConfigurationException('logrouter_configfile_invalid',$this->_configFile);
}
$this->loadConfig($config);
- $this->getApplication()->attachEventHandler('OnExitApplication',array($this,'collectLogs'));
+ $this->getApplication()->attachEventHandler('OnEndRequest',array($this,'collectLogs'));
}
/**