[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.
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php
index 185f930..1188675 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -381,7 +381,7 @@
}
}
- log_message('debug', 'Database Driver Class Initialized');
+ log_message('info', 'Database Driver Class Initialized');
}
// --------------------------------------------------------------------
diff --git a/system/database/DB_forge.php b/system/database/DB_forge.php
index 4ca9808..41f9bf5 100644
--- a/system/database/DB_forge.php
+++ b/system/database/DB_forge.php
@@ -167,7 +167,7 @@
public function __construct(&$db)
{
$this->db =& $db;
- log_message('debug', 'Database Forge Class Initialized');
+ log_message('info', 'Database Forge Class Initialized');
}
// --------------------------------------------------------------------
diff --git a/system/database/DB_utility.php b/system/database/DB_utility.php
index 963080f..4bf94d4 100644
--- a/system/database/DB_utility.php
+++ b/system/database/DB_utility.php
@@ -87,7 +87,7 @@
public function __construct(&$db)
{
$this->db =& $db;
- log_message('debug', 'Database Utility Class Initialized');
+ log_message('info', 'Database Utility Class Initialized');
}
// --------------------------------------------------------------------