Skip to content

Commit

Permalink
chore: log-httptrace-pro => log-interceptor
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles7c committed Aug 1, 2024
1 parent 8c6b94b commit 31c3162
Show file tree
Hide file tree
Showing 13 changed files with 22 additions and 22 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,10 @@ continew-starter.web:
### 日志模块
| 模块名称 | 模块说明 |
| ---------------------------------- | ----------------------------------------- |
| continew-starter-log-core | 日志核心模块 |
| continew-starter-log-httptrace-pro | Spring Boot Actuator HttpTrace 重置增强版 |
| 模块名称 | 模块说明 |
|----------------------------------| ----------------------------------------- |
| continew-starter-log-core | 日志核心模块 |
| continew-starter-log-interceptor | 拦截器版(Spring Boot Actuator HttpTrace 增强版) |
### 存储模块
Expand Down
4 changes: 2 additions & 2 deletions continew-starter-dependencies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -446,10 +446,10 @@
<version>${revision}</version>
</dependency>

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

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<version>${revision}</version>
</parent>

<artifactId>continew-starter-log-httptrace-pro</artifactId>
<description>ContiNew Starter 日志模块 - HttpTracePro(Spring Boot Actuator HttpTrace 重置增强版)</description>
<artifactId>continew-starter-log-interceptor</artifactId>
<description>ContiNew Starter 日志模块 - 拦截器版(Spring Boot Actuator HttpTrace 增强版)</description>

<dependencies>
<!-- Swagger 注解 -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* 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 top.continew.starter.core.constant.PropertiesConstants;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package top.continew.starter.log.httptracepro.autoconfigure;
package top.continew.starter.log.interceptor.autoconfigure;

import jakarta.annotation.PostConstruct;
import org.slf4j.Logger;
Expand All @@ -28,8 +28,8 @@
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
import top.continew.starter.log.core.dao.LogDao;
import top.continew.starter.log.core.dao.impl.LogDaoDefaultImpl;
import top.continew.starter.log.httptracepro.handler.LogFilter;
import top.continew.starter.log.httptracepro.handler.LogInterceptor;
import top.continew.starter.log.interceptor.handler.LogFilter;
import top.continew.starter.log.interceptor.handler.LogInterceptor;

/**
* 日志自动配置
Expand Down Expand Up @@ -75,6 +75,6 @@ public LogDao logDao() {

@PostConstruct
public void postConstruct() {
log.debug("[ContiNew Starter] - Auto Configuration 'Log-HttpTracePro' completed initialization.");
log.debug("[ContiNew Starter] - Auto Configuration 'Log' completed initialization.");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* 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 top.continew.starter.core.constant.PropertiesConstants;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* 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 jakarta.servlet.FilterChain;
Expand All @@ -29,7 +29,7 @@
import org.springframework.web.util.ContentCachingResponseWrapper;
import org.springframework.web.util.WebUtils;
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 java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* 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 com.alibaba.ttl.TransmittableThreadLocal;
Expand All @@ -33,7 +33,7 @@
import top.continew.starter.log.core.enums.Include;
import top.continew.starter.log.core.model.LogRecord;
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.util.Set;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* 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.util.StrUtil;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* 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.util.StrUtil;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
top.continew.starter.log.interceptor.autoconfigure.LogAutoConfiguration
2 changes: 1 addition & 1 deletion continew-starter-log/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<modules>
<module>continew-starter-log-core</module>
<module>continew-starter-log-httptrace-pro</module>
<module>continew-starter-log-interceptor</module>
</modules>

<dependencies>
Expand Down

0 comments on commit 31c3162

Please sign in to comment.