Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
C
communication
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
耿迪迪
communication
Commits
3d370aa6
Commit
3d370aa6
authored
Aug 11, 2021
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配置修改 gengdidi
parent
4d001b97
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
application.yml
src/main/resources/application.yml
+2
-2
log4j.properties
src/main/resources/log4j.properties
+4
-4
No files found.
src/main/resources/application.yml
View file @
3d370aa6
# 开发环境配置
# 开发环境配置
server
:
server
:
# 服务器的HTTP端口,默认为8080
# 服务器的HTTP端口,默认为8080
port
:
8
080
port
:
8
801
servlet
:
servlet
:
# 应用的访问路径
# 应用的访问路径
context-path
:
/
context-path
:
/
...
@@ -38,7 +38,7 @@ accessKeyId: LTAI2xiZNF3iV2aV
...
@@ -38,7 +38,7 @@ accessKeyId: LTAI2xiZNF3iV2aV
accessKeySecret
:
bprEWwn1M0xgglRQCQEMYSPiYctDk4
accessKeySecret
:
bprEWwn1M0xgglRQCQEMYSPiYctDk4
#ip白名单
#ip白名单
iPWhite
:
192.168.2.23
iPWhite
:
36.148.1.58,120.0.70.251
#秘钥
#秘钥
secretKey
:
f225e66813e6d6a663daf919c1935dcb
secretKey
:
f225e66813e6d6a663daf919c1935dcb
...
...
src/main/resources/log4j.properties
View file @
3d370aa6
...
@@ -5,8 +5,8 @@ log4j.appender.Console.layout = org.apache.log4j.PatternLayout
...
@@ -5,8 +5,8 @@ log4j.appender.Console.layout = org.apache.log4j.PatternLayout
log4j.appender.Console.layout.ConversionPattern
=
[%p] [%d{yyyy-MM-dd HH
\:
mm
\:
ss}][%c - %L]%m%n
log4j.appender.Console.layout.ConversionPattern
=
[%p] [%d{yyyy-MM-dd HH
\:
mm
\:
ss}][%c - %L]%m%n
log4j.appender.File
=
org.apache.log4j.DailyRollingFileAppender
log4j.appender.File
=
org.apache.log4j.DailyRollingFileAppender
log4j.appender.File.File
=
E:/java/work/info
#
log4j.appender.File.File = E:/java/work/info
#
log4j.appender.File.File = /data/java/communication/log/info
log4j.appender.File.File
=
/data/java/communication/log/info
log4j.appender.File.DatePattern
=
_yyyy-MM-dd'.log'
log4j.appender.File.DatePattern
=
_yyyy-MM-dd'.log'
log4j.appender.File.Append
=
true
log4j.appender.File.Append
=
true
log4j.appender.File.File.MaxFileSize
=
30MB
log4j.appender.File.File.MaxFileSize
=
30MB
...
@@ -18,8 +18,8 @@ log4j.appender.File.layout.ConversionPattern =[%p] [%d{yyyy-MM-dd HH\:mm\:ss}][%
...
@@ -18,8 +18,8 @@ log4j.appender.File.layout.ConversionPattern =[%p] [%d{yyyy-MM-dd HH\:mm\:ss}][%
log4j.logger.RequestLog
=
INFO,S
log4j.logger.RequestLog
=
INFO,S
log4j.additivity.RequestLog
=
false
log4j.additivity.RequestLog
=
false
log4j.appender.S
=
org.apache.log4j.DailyRollingFileAppender
log4j.appender.S
=
org.apache.log4j.DailyRollingFileAppender
log4j.appender.S.File
=
E:/java/work/requestLog
#
log4j.appender.S.File =E:/java/work/requestLog
#
log4j.appender.S.File = /data/java/communication/log/requestLog
log4j.appender.S.File
=
/data/java/communication/log/requestLog
log4j.appender.S.DatePattern
=
_yyyy-MM-dd'.log'
log4j.appender.S.DatePattern
=
_yyyy-MM-dd'.log'
log4j.appender.S.Append
=
true
log4j.appender.S.Append
=
true
log4j.appender.S.Threshold
=
info
log4j.appender.S.Threshold
=
info
...
...
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