summaryrefslogtreecommitdiffstats
path: root/system/core/Security.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/Security.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/Security.php')
-rw-r--r--system/core/Security.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/system/core/Security.php b/system/core/Security.php
index 2bf0f6284..4f5d9540d 100644
--- a/system/core/Security.php
+++ b/system/core/Security.php
@@ -192,7 +192,7 @@ class CI_Security {
$this->charset = strtoupper(config_item('charset'));
- log_message('debug', 'Security Class Initialized');
+ log_message('info', 'Security Class Initialized');
}
// --------------------------------------------------------------------
@@ -244,7 +244,7 @@ class CI_Security {
$this->_csrf_set_hash();
$this->csrf_set_cookie();
- log_message('debug', 'CSRF token verified');
+ log_message('info', 'CSRF token verified');
return $this;
}
@@ -275,7 +275,7 @@ class CI_Security {
$secure_cookie,
config_item('cookie_httponly')
);
- log_message('debug', 'CRSF cookie Set');
+ log_message('info', 'CRSF cookie sent');
return $this;
}
@@ -533,7 +533,6 @@ class CI_Security {
return ($str === $converted_string);
}
- log_message('debug', 'XSS Filtering completed');
return $str;
}