Skip to content

Commit ded71be

Browse files
author
Till Brehm
committed
Changed LOGLEVEL_INFO to LOGLEVEL_DEBUG in db_mysql.inc.php
1 parent 0ce3c7b commit ded71be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

interface/lib/classes/db_mysql.inc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ private function check_utf8($str) {
472472
public function escape($sString) {
473473
global $app;
474474
if(!is_string($sString) && !is_numeric($sString)) {
475-
$app->log('NON-String given in escape function! (' . gettype($sString) . ')', LOGLEVEL_INFO);
475+
$app->log('NON-String given in escape function! (' . gettype($sString) . ')', LOGLEVEL_DEBUG);
476476
//$sAddMsg = getDebugBacktrace();
477477
$app->log($sAddMsg, LOGLEVEL_DEBUG);
478478
$sString = '';
@@ -481,7 +481,7 @@ public function escape($sString) {
481481
$cur_encoding = mb_detect_encoding($sString);
482482
if($cur_encoding != "UTF-8") {
483483
if($cur_encoding != 'ASCII') {
484-
if(is_object($app) && method_exists($app, 'log')) $app->log('String ' . substr($sString, 0, 25) . '... is ' . $cur_encoding . '.', LOGLEVEL_INFO);
484+
if(is_object($app) && method_exists($app, 'log')) $app->log('String ' . substr($sString, 0, 25) . '... is ' . $cur_encoding . '.', LOGLEVEL_DEBUG);
485485
if($cur_encoding) $sString = mb_convert_encoding($sString, 'UTF-8', $cur_encoding);
486486
else $sString = mb_convert_encoding($sString, 'UTF-8');
487487
}

0 commit comments

Comments
 (0)