# spring-boot-starter-request-log **Repository Path**: depsea/spring-boot-starter-request-log ## Basic Information - **Project Name**: spring-boot-starter-request-log - **Description**: 请求日志处理 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2021-12-14 - **Last Updated**: 2024-04-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 如何使用? 引入Jar包 ```xml org.depsea.log spring-boot-starter-request-log ${request-log.version} ``` 然后在SpringBoot的配置文件中增加如下内容 ```yaml spring: request-log: enable: true pointcut-expression: "execution(* com.depsea..*.controller.*.*(..))" request-log-index-name-prefix: "request-log-${spring.application.name}" exception-log-index-name-prefix: "exception-log-${spring.application.name}" enable-print-log: true enable-write-to-es: true ```