summaryrefslogtreecommitdiff
path: root/framework/Log/TLogRouter.php
diff options
context:
space:
mode:
authorxue <>2006-02-07 16:47:06 +0000
committerxue <>2006-02-07 16:47:06 +0000
commitee2e653ec9da8cc311989acf6b21b78d32cc80c3 (patch)
tree3cbd8223113c649a697dcd33d48bd9ce6be3e72c /framework/Log/TLogRouter.php
parenteeb88f732f428e88b354271d61c3995041586025 (diff)
Added OnExitApplication event to TApplication.
Diffstat (limited to 'framework/Log/TLogRouter.php')
-rw-r--r--framework/Log/TLogRouter.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/Log/TLogRouter.php b/framework/Log/TLogRouter.php
index 4b6141e4..06877f0f 100644
--- a/framework/Log/TLogRouter.php
+++ b/framework/Log/TLogRouter.php
@@ -68,8 +68,7 @@ class TLogRouter extends TModule
throw new TConfigurationException('logrouter_configfile_invalid',$this->_configFile);
}
$this->loadConfig($config);
- $this->getApplication()->attachEventHandler('OnError',array($this,'collectLogs'));
- $this->getApplication()->attachEventHandler('OnEndRequest',array($this,'collectLogs'));
+ $this->getApplication()->attachEventHandler('OnExitApplication',array($this,'collectLogs'));
}
/**