summaryrefslogtreecommitdiffstats
path: root/system/libraries/Encryption.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/libraries/Encryption.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/libraries/Encryption.php')
-rw-r--r--system/libraries/Encryption.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/libraries/Encryption.php b/system/libraries/Encryption.php
index ef67b4cd5..95b183a3a 100644
--- a/system/libraries/Encryption.php
+++ b/system/libraries/Encryption.php
@@ -171,7 +171,7 @@ class CI_Encryption {
$this->_key = $key;
}
- log_message('debug', 'Encryption Class Initialized');
+ log_message('info', 'Encryption Class Initialized');
}
// --------------------------------------------------------------------
@@ -268,7 +268,7 @@ class CI_Encryption {
if ($this->_handle = mcrypt_module_open($this->_cipher, '', $this->_mode, ''))
{
- log_message('debug', 'Encryption: MCrypt cipher '.strtoupper($this->_cipher).' initialized in '.strtoupper($this->_mode).' mode.');
+ log_message('info', 'Encryption: MCrypt cipher '.strtoupper($this->_cipher).' initialized in '.strtoupper($this->_mode).' mode.');
}
else
{
@@ -322,7 +322,7 @@ class CI_Encryption {
else
{
$this->_handle = $handle;
- log_message('debug', 'Encryption: OpenSSL initialized with method '.strtoupper($handle).'.');
+ log_message('info', 'Encryption: OpenSSL initialized with method '.strtoupper($handle).'.');
}
}
}