springboot , springsecurity , xlog 표시관련

239 views
Skip to first unread message

ysm...@gmail.com

unread,
Apr 9, 2020, 1:11:45 AM4/9/20
to Scouter Project
트러블 내용:

springboot , embeded tomcat 사용 restful api 구현
xlog 가 표시되지 않음 ( api 내용이 hooking 되지 않는듯 )

많은 테스트를 거쳐 결국은 spring security 를 포함시키니 표시가 되었습니다.
( api는 내부 통신망이므로 spring security 를 포함할 필요가 없었음 )
 
아래는 현재 gradle 설정입니다.

plugins {
id 'org.springframework.boot' version '2.2.0.RELEASE'
id 'io.spring.dependency-management' version '1.0.8.RELEASE'
id 'java'
}

implementation 'org.springframework.boot:spring-boot-starter-data-redis'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:2.1.0'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-jdbc'
implementation 'com.github.ulisesbocchio:jasypt-spring-boot:2.1.0'
implementation 'org.bgee.log4jdbc-log4j2:log4jdbc-log4j2-jdbc4:1.16'
implementation 'io.springfox:springfox-swagger2:2.9.2'
implementation 'io.springfox:springfox-swagger-ui:2.9.2'
compile group: 'org.mybatis', name: 'mybatis-typehandlers-jsr310', version: '1.0.2'
compile 'org.modelmapper:modelmapper:2.3.0'

compileOnly 'org.projectlombok:lombok'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
runtimeOnly 'com.oracle.ojdbc:ojdbc8'
annotationProcessor 'org.projectlombok:lombok'


근본적인 이유가 있겠지만 현재 security를 포함하면 표시가 되고 포함시키지 않으면 표시가 되지 않습니다.
스카우터 버전은 2.7.1 입니다.

혹 자세한 내용 알고 계신다면 설명을 부탁드립니다.
Reply all
Reply to author
Forward
0 new messages