summaryrefslogtreecommitdiff
path: root/framework/Log
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Log')
-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'));
}
/**