summaryrefslogtreecommitdiffstats
path: root/system/core/Config.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/Config.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/Config.php')
-rw-r--r--system/core/Config.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/system/core/Config.php b/system/core/Config.php
index d5ce91f48..3828fae65 100644
--- a/system/core/Config.php
+++ b/system/core/Config.php
@@ -72,6 +72,8 @@ class CI_Config {
*/
public $_config_paths = array(APPPATH);
+ // --------------------------------------------------------------------
+
/**
* Class constructor
*
@@ -82,7 +84,6 @@ class CI_Config {
public function __construct()
{
$this->config =& get_config();
- log_message('debug', 'Config Class Initialized');
// Set the base_url automatically if none was provided
if (empty($this->config['base_url']))
@@ -101,6 +102,8 @@ class CI_Config {
$this->set_item('base_url', $base_url);
}
+
+ log_message('info', 'Config Class Initialized');
}
// --------------------------------------------------------------------