Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangxinjiang
yifu-mvp
Commits
26cdb559
Commit
26cdb559
authored
Feb 21, 2025
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
邮件发送调整-fxj
parent
ae2679c9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
1 deletion
+21
-1
logback-spring.xml
...yifu-permission-biz/src/main/resources/logback-spring.xml
+21
-1
No files found.
yifu-permission/yifu-permission-biz/src/main/resources/logback-spring.xml
View file @
26cdb559
...
@@ -47,7 +47,27 @@
...
@@ -47,7 +47,27 @@
<level>
ERROR
</level>
<level>
ERROR
</level>
</filter>
</filter>
</appender>
</appender>
<!--邮件提醒-->
<appender
name=
"MAIL"
class=
"ch.qos.logback.classic.net.SMTPAppender"
>
<smtpHost>
smtp.exmail.qq.com
</smtpHost>
<smtpPort>
465
</smtpPort>
<username>
information@wanxin-holdings.com
</username>
<password>
QmdCaQSPmCAQEddd
</password>
<SSL>
true
</SSL>
<asynchronousSending>
true
</asynchronousSending>
<to>
wangpeng@wanxin-holdings.com,fangxinjiang@wanxin-holdings.com,hongguangwu@wanxin-holdings.com
</to>
<from>
information@wanxin-holdings.com
</from>
<subject>
hro-mvp ${springAppActive}环境 ${springAppName}服务: %-20msg 错误
</subject>
<charsetEncoding>
UTF-8
</charsetEncoding>
<cyclicBufferTracker
class=
"ch.qos.logback.core.spi.CyclicBufferTracker"
>
<!-- <!– 每个电子邮件只发送一个日志条目 –>-->
<bufferSize>
1
</bufferSize>
</cyclicBufferTracker>
<layout
class=
"ch.qos.logback.classic.html.HTMLLayout"
/>
<filter
class=
"ch.qos.logback.classic.filter.ThresholdFilter"
>
<level>
ERROR
</level>
</filter>
</appender>
<!-- Level: FATAL 0 ERROR 3 WARN 4 INFO 6 DEBUG 7 -->
<!-- Level: FATAL 0 ERROR 3 WARN 4 INFO 6 DEBUG 7 -->
<root
level=
"error"
>
<root
level=
"error"
>
<appender-ref
ref=
"console"
/>
<appender-ref
ref=
"console"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment