카카오페이 로그 제외 필드키 추가

This commit is contained in:
chicpro
2015-09-23 15:32:51 +09:00
parent ddff637fd7
commit 070cdf999a
2 changed files with 5 additions and 2 deletions

View File

@ -395,13 +395,16 @@
}
public function writeLog($strLogText) {
$log_string = "";
$exclude = array('MID', 'merchantEncKey', 'merchantHashKey', 'CancelPwd');
$exclude = array('MID', 'merchantEncKey', 'merchantHashKey', 'CancelPwd', 'site_cd', 'def_site_cd', 'CST_MID', 'LGD_MID');
if (is_array($strLogText)) {
$log_string = "[".date("Y/m/d H:i:s")."] \r\n";
foreach (array_keys($strLogText) as $key) {
if(in_array($key, $exclude))
continue;
if(preg_match('#^od_.+$#', $key))
continue;
$log_string = $log_string." [".$key."] => ".$strLogText[$key]."\r\n";
}
} else {