Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6700d30ba6 | ||
| 4faf6daa24 |
@ -74,6 +74,16 @@ public class LogAspect {
|
|||||||
@Before("execution(* com.itn.mjonApi.mjon.api..*Controller.*(..)) || execution(* com.itn.mjonApi.mjon.api..*Impl.*(..))")
|
@Before("execution(* com.itn.mjonApi.mjon.api..*Controller.*(..)) || execution(* com.itn.mjonApi.mjon.api..*Impl.*(..))")
|
||||||
public void before(JoinPoint joinPoint) throws IllegalAccessException, JsonProcessingException {
|
public void before(JoinPoint joinPoint) throws IllegalAccessException, JsonProcessingException {
|
||||||
log.info(" :: AOP before :: ");
|
log.info(" :: AOP before :: ");
|
||||||
|
//
|
||||||
|
// for (Object arg : joinPoint.getArgs()) {
|
||||||
|
// if (arg == null) continue;
|
||||||
|
//
|
||||||
|
// // JSON 직렬화해서 VO 전체 출력
|
||||||
|
// log.info("VO 전체: {}", new ObjectMapper().writeValueAsString(arg));
|
||||||
|
// log.info("VO 클래스명: {}", arg.getClass().getName());
|
||||||
|
//
|
||||||
|
//
|
||||||
|
// }
|
||||||
|
|
||||||
|
|
||||||
HttpServletRequest request = this.getHttpServletRequest();
|
HttpServletRequest request = this.getHttpServletRequest();
|
||||||
@ -344,9 +354,6 @@ public class LogAspect {
|
|||||||
case "MsgFtRequestVO":
|
case "MsgFtRequestVO":
|
||||||
case "String":
|
case "String":
|
||||||
case "ArrayList":
|
case "ArrayList":
|
||||||
case "PriceVO":
|
|
||||||
case "HstryDetailVO":
|
|
||||||
case "HstryVO":
|
|
||||||
return ApiObjectUtil.toJson(returnValue);
|
return ApiObjectUtil.toJson(returnValue);
|
||||||
default:
|
default:
|
||||||
log.info("데이터를 추가해 주세요 [{}]", classNm);
|
log.info("데이터를 추가해 주세요 [{}]", classNm);
|
||||||
|
|||||||
@ -1,12 +1,12 @@
|
|||||||
|
|
||||||
|
|
||||||
# DB INFO
|
# DB INFO
|
||||||
#spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
|
#spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
|
||||||
#spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
#spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
||||||
#spring.datasource.url=jdbc:mysql://192.168.0.125:3306/mjon?serverTimezone=Asia/Seoul
|
#spring.datasource.url=jdbc:mysql://192.168.0.125:3306/mjon?serverTimezone=Asia/Seoul
|
||||||
spring.datasource.driverClassName=net.sf.log4jdbc.sql.jdbcapi.DriverSpy
|
spring.datasource.driverClassName=net.sf.log4jdbc.sql.jdbcapi.DriverSpy
|
||||||
#prod DB
|
#prod DB
|
||||||
spring.datasource.url=jdbc:log4jdbc:mysql://139.150.72.157:3306/mjon?serverTimezone=Asia/Seoul
|
#spring.datasource.url=jdbc:log4jdbc:mysql://139.150.72.157:3306/mjon?serverTimezone=Asia/Seoul
|
||||||
|
spring.datasource.url=jdbc:log4jdbc:mysql://139.150.73.150:3306/mjon_advc?serverTimezone=Asia/Seoul
|
||||||
#dev DB
|
#dev DB
|
||||||
#spring.datasource.url=jdbc:log4jdbc:mysql://119.193.215.98:3306/mjon?serverTimezone=Asia/Seoul
|
#spring.datasource.url=jdbc:log4jdbc:mysql://119.193.215.98:3306/mjon?serverTimezone=Asia/Seoul
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user