chore: log-httptrace-pro => log-interceptor

This commit is contained in:
2024-08-01 22:11:40 +08:00
parent 8c6b94ba76
commit 31c3162563
13 changed files with 22 additions and 22 deletions

View File

@@ -173,9 +173,9 @@ continew-starter.web:
### 日志模块 ### 日志模块
| 模块名称 | 模块说明 | | 模块名称 | 模块说明 |
| ---------------------------------- | ----------------------------------------- | |----------------------------------| ----------------------------------------- |
| continew-starter-log-core | 日志核心模块 | | continew-starter-log-core | 日志核心模块 |
| continew-starter-log-httptrace-pro | Spring Boot Actuator HttpTrace 重置增强版 | | continew-starter-log-interceptor | 拦截器版(Spring Boot Actuator HttpTrace 增强版 |
### 存储模块 ### 存储模块

View File

@@ -446,10 +446,10 @@
<version>${revision}</version> <version>${revision}</version>
</dependency> </dependency>
<!-- 日志模块 - HttpTraceProSpring Boot Actuator HttpTrace 定制增强版) --> <!-- 日志模块 - 拦截器版Spring Boot Actuator HttpTrace 增强版) -->
<dependency> <dependency>
<groupId>top.continew</groupId> <groupId>top.continew</groupId>
<artifactId>continew-starter-log-httptrace-pro</artifactId> <artifactId>continew-starter-log-interceptor</artifactId>
<version>${revision}</version> <version>${revision}</version>
</dependency> </dependency>

View File

@@ -9,8 +9,8 @@
<version>${revision}</version> <version>${revision}</version>
</parent> </parent>
<artifactId>continew-starter-log-httptrace-pro</artifactId> <artifactId>continew-starter-log-interceptor</artifactId>
<description>ContiNew Starter 日志模块 - HttpTraceProSpring Boot Actuator HttpTrace 重置增强版)</description> <description>ContiNew Starter 日志模块 - 拦截器版Spring Boot Actuator HttpTrace 增强版)</description>
<dependencies> <dependencies>
<!-- Swagger 注解 --> <!-- Swagger 注解 -->

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.starter.log.httptracepro.autoconfigure; package top.continew.starter.log.interceptor.autoconfigure;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import top.continew.starter.core.constant.PropertiesConstants; import top.continew.starter.core.constant.PropertiesConstants;

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.starter.log.httptracepro.autoconfigure; package top.continew.starter.log.interceptor.autoconfigure;
import jakarta.annotation.PostConstruct; import jakarta.annotation.PostConstruct;
import org.slf4j.Logger; import org.slf4j.Logger;
@@ -28,8 +28,8 @@ import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
import top.continew.starter.log.core.dao.LogDao; import top.continew.starter.log.core.dao.LogDao;
import top.continew.starter.log.core.dao.impl.LogDaoDefaultImpl; import top.continew.starter.log.core.dao.impl.LogDaoDefaultImpl;
import top.continew.starter.log.httptracepro.handler.LogFilter; import top.continew.starter.log.interceptor.handler.LogFilter;
import top.continew.starter.log.httptracepro.handler.LogInterceptor; import top.continew.starter.log.interceptor.handler.LogInterceptor;
/** /**
* 日志自动配置 * 日志自动配置
@@ -75,6 +75,6 @@ public class LogAutoConfiguration implements WebMvcConfigurer {
@PostConstruct @PostConstruct
public void postConstruct() { public void postConstruct() {
log.debug("[ContiNew Starter] - Auto Configuration 'Log-HttpTracePro' completed initialization."); log.debug("[ContiNew Starter] - Auto Configuration 'Log' completed initialization.");
} }
} }

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.starter.log.httptracepro.autoconfigure; package top.continew.starter.log.interceptor.autoconfigure;
import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.boot.context.properties.ConfigurationProperties;
import top.continew.starter.core.constant.PropertiesConstants; import top.continew.starter.core.constant.PropertiesConstants;

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.starter.log.httptracepro.handler; package top.continew.starter.log.interceptor.handler;
import cn.hutool.extra.spring.SpringUtil; import cn.hutool.extra.spring.SpringUtil;
import jakarta.servlet.FilterChain; import jakarta.servlet.FilterChain;
@@ -29,7 +29,7 @@ import org.springframework.web.util.ContentCachingRequestWrapper;
import org.springframework.web.util.ContentCachingResponseWrapper; import org.springframework.web.util.ContentCachingResponseWrapper;
import org.springframework.web.util.WebUtils; import org.springframework.web.util.WebUtils;
import top.continew.starter.log.core.enums.Include; import top.continew.starter.log.core.enums.Include;
import top.continew.starter.log.httptracepro.autoconfigure.LogProperties; import top.continew.starter.log.interceptor.autoconfigure.LogProperties;
import top.continew.starter.web.util.SpringWebUtils; import top.continew.starter.web.util.SpringWebUtils;
import java.io.IOException; import java.io.IOException;

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.starter.log.httptracepro.handler; package top.continew.starter.log.interceptor.handler;
import cn.hutool.core.text.CharSequenceUtil; import cn.hutool.core.text.CharSequenceUtil;
import com.alibaba.ttl.TransmittableThreadLocal; import com.alibaba.ttl.TransmittableThreadLocal;
@@ -33,7 +33,7 @@ import top.continew.starter.log.core.dao.LogDao;
import top.continew.starter.log.core.enums.Include; import top.continew.starter.log.core.enums.Include;
import top.continew.starter.log.core.model.LogRecord; import top.continew.starter.log.core.model.LogRecord;
import top.continew.starter.log.core.model.LogResponse; import top.continew.starter.log.core.model.LogResponse;
import top.continew.starter.log.httptracepro.autoconfigure.LogProperties; import top.continew.starter.log.interceptor.autoconfigure.LogProperties;
import java.time.Clock; import java.time.Clock;
import java.util.Set; import java.util.Set;

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.starter.log.httptracepro.handler; package top.continew.starter.log.interceptor.handler;
import cn.hutool.core.text.CharSequenceUtil; import cn.hutool.core.text.CharSequenceUtil;
import cn.hutool.core.util.StrUtil; import cn.hutool.core.util.StrUtil;

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.starter.log.httptracepro.handler; package top.continew.starter.log.interceptor.handler;
import cn.hutool.core.text.CharSequenceUtil; import cn.hutool.core.text.CharSequenceUtil;
import cn.hutool.core.util.StrUtil; import cn.hutool.core.util.StrUtil;

View File

@@ -0,0 +1 @@
top.continew.starter.log.interceptor.autoconfigure.LogAutoConfiguration

View File

@@ -15,7 +15,7 @@
<modules> <modules>
<module>continew-starter-log-core</module> <module>continew-starter-log-core</module>
<module>continew-starter-log-httptrace-pro</module> <module>continew-starter-log-interceptor</module>
</modules> </modules>
<dependencies> <dependencies>