Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
B
basic-api-boot
概览
概览
详情
活动
周期分析
版本库
存储库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Basic
basic-api-boot
Commits
ce3cf67b
提交
ce3cf67b
authored
9月 26, 2024
作者:
方治民
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: 优化日志输出等默认配置
上级
17120fbf
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
8 行增加
和
2 行删除
+8
-2
application-conf-patch.yml
app/src/main/resources/application-conf-patch.yml
+2
-0
application-dev-postgresql.yml
app/src/main/resources/application-dev-postgresql.yml
+5
-1
RequestAspect.java
...src/main/java/com/yiring/common/aspect/RequestAspect.java
+1
-1
没有找到文件。
app/src/main/resources/application-conf-patch.yml
浏览文件 @
ce3cf67b
...
@@ -30,3 +30,5 @@ logging:
...
@@ -30,3 +30,5 @@ logging:
springfox.documentation.spring.web.scanners.ApiListingReferenceScanner
:
WARN
springfox.documentation.spring.web.scanners.ApiListingReferenceScanner
:
WARN
# https://github.com/spring-projects/spring-framework/issues/29612
# https://github.com/spring-projects/spring-framework/issues/29612
org.springframework.core.LocalVariableTableParameterNameDiscoverer
:
ERROR
org.springframework.core.LocalVariableTableParameterNameDiscoverer
:
ERROR
# loki filter logger
pl.piomin.logging.filter.SpringLoggingFilter
:
WARN
app/src/main/resources/application-dev-postgresql.yml
浏览文件 @
ce3cf67b
...
@@ -18,7 +18,7 @@ spring:
...
@@ -18,7 +18,7 @@ spring:
open-in-view
:
true
open-in-view
:
true
hibernate
:
hibernate
:
ddl-auto
:
update
ddl-auto
:
update
show-sql
:
tru
e
show-sql
:
fals
e
properties
:
properties
:
hibernate
:
hibernate
:
format_sql
:
true
format_sql
:
true
...
@@ -51,6 +51,10 @@ springdoc:
...
@@ -51,6 +51,10 @@ springdoc:
# knife4j
# knife4j
knife4j
:
knife4j
:
enable
:
true
enable
:
true
basic
:
enable
:
true
username
:
${env.props.username}
password
:
${env.props.password}
setting
:
setting
:
language
:
zh_cn
language
:
zh_cn
enableDebug
:
true
enableDebug
:
true
...
...
modules/common/core/src/main/java/com/yiring/common/aspect/RequestAspect.java
浏览文件 @
ce3cf67b
...
@@ -69,7 +69,7 @@ public class RequestAspect {
...
@@ -69,7 +69,7 @@ public class RequestAspect {
// 获取接口请求扩展信息,Header, Params
// 获取接口请求扩展信息,Header, Params
String
extra
=
""
;
String
extra
=
""
;
if
(
Boolean
.
TRUE
.
equals
(
debug
))
{
if
(
Boolean
.
TRUE
.
equals
(
debug
)
||
log
.
isDebugEnabled
()
)
{
String
headers
=
JSONObject
.
toJSONString
(
String
headers
=
JSONObject
.
toJSONString
(
JakartaServletUtil
.
getHeaderMap
(
request
),
JakartaServletUtil
.
getHeaderMap
(
request
),
JSONWriter
.
Feature
.
PrettyFormat
JSONWriter
.
Feature
.
PrettyFormat
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论