이지우 - 로그 저장 시 프로그램이름에 ? 앞부분만 등록
This commit is contained in:
parent
1d3f554ce6
commit
0e24a8ea63
@ -78,8 +78,12 @@ public class EgovLoginLogServiceImpl extends EgovAbstractServiceImpl implements
|
||||
|
||||
//loinLog.setMethodNm(s_arr[s_arr.length-3]+"/"+s_arr[s_arr.length-2]+"/"+s_arr[s_arr.length-1]);
|
||||
|
||||
loinLog.setMethodNm(StringUtil2.extractLogMethodNm(loinLog.getUrl()));
|
||||
|
||||
/*250108 - 메소드 길이로 인하여 로그 기록 시 오류.
|
||||
?를 기준으로 앞부분 사용*/
|
||||
//loinLog.setMethodNm(StringUtil2.extractLogMethodNm(loinLog.getUrl()));
|
||||
String methodNm = loinLog.getUrl();
|
||||
String[] methodNmArr = methodNm.split("\\?");
|
||||
loinLog.setMethodNm(methodNmArr[0]);
|
||||
|
||||
System.out.println("loinLog.getMethodNm()");
|
||||
System.out.println(loinLog.getMethodNm());
|
||||
@ -105,8 +109,9 @@ public class EgovLoginLogServiceImpl extends EgovAbstractServiceImpl implements
|
||||
//다시 남기기
|
||||
i=loginLogDAO.logInsertWebLoginLogNewStep1(loinLog); //사용자 페이지의 로그만 남김(메뉴에 등록된 페이지만 남김)
|
||||
|
||||
//250108 - logInsertWebLoginLogNewStep1와 동일하게 LETTNLOGINLOG에 로그를 남기는데 PK 중복 에러로 인하여 주석
|
||||
//lettnloginlog 에 남기기
|
||||
i=loginLogDAO.logInsertWebLoginLogNewStep2(loinLog); //사용자 페이지의 로그만 남김(메뉴에 등록된 페이지만 남김)
|
||||
//i=loginLogDAO.logInsertWebLoginLogNewStep2(loinLog); //사용자 페이지의 로그만 남김(메뉴에 등록된 페이지만 남김)
|
||||
}
|
||||
|
||||
}catch(Exception ex) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user