summaryrefslogtreecommitdiffstats
path: root/system/core/Hooks.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-01-20 11:39:22 +0100
committerAndrey Andreev <narf@devilix.net>2015-01-20 11:39:22 +0100
commit90726b8c769ea75aec34814ddfa91655d488e6c3 (patch)
treee4dfc96df41f82aab54c43e99e48109ca8943959 /system/core/Hooks.php
parent19c6c3d78e62a0d2dcb40b5aff49838fe3fb76ed (diff)
[ci skip] Change some log messages' level
'Class Loaded' type of messages flood log files when log_threshold is set to 2 (debug). They're now logged as 'info' level. This is manually applying PR #1528, which was created to do the same thing, but became outdated.
Diffstat (limited to 'system/core/Hooks.php')
-rw-r--r--system/core/Hooks.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/system/core/Hooks.php b/system/core/Hooks.php
index 429d6bceb..a55b38aaa 100644
--- a/system/core/Hooks.php
+++ b/system/core/Hooks.php
@@ -88,8 +88,7 @@ class CI_Hooks {
public function __construct()
{
$CFG =& load_class('Config', 'core');
-
- log_message('debug', 'Hooks Class Initialized');
+ log_message('info', 'Hooks Class Initialized');
// If hooks are not enabled in the config file
// there is nothing else to do