Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
shop-Mall
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
licc
shop-Mall
Commits
2175fbbb
Commit
2175fbbb
authored
4 years ago
by
liqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fixed
parent
b9c9690d
master
branch4
branch5
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
6 deletions
+19
-6
application-test.yml
wisenergy-web-admin/src/main/resources/application-test.yml
+15
-2
application.properties
...b/xxl-job-admin/src/main/resources/application.properties
+2
-2
logback.xml
xxl-job/xxl-job-admin/src/main/resources/logback.xml
+1
-1
XxlJobFileAppender.java
...rc/main/java/com/xxl/job/core/log/XxlJobFileAppender.java
+1
-1
No files found.
wisenergy-web-admin/src/main/resources/application-test.yml
View file @
2175fbbb
...
...
@@ -38,8 +38,8 @@ spring:
database
:
0
host
:
39.97.107.31
port
:
6379
password
:
1qaz@WSX
# 密码(默认为空)
timeout
:
6000ms
# 连接超时时长(毫秒)
password
:
timeout
:
6000ms
jedis
:
pool
:
max-active
:
1000
# 连接池最大连接数(使用负值表示没有限制)
...
...
@@ -51,3 +51,16 @@ spring:
## secret: f4e2e52034348f86b67cde581c0f9eb5
## # token有效时长,单位秒
## expire: 14400
xxl
:
job
:
accessToken
:
admin
:
addresses
:
http://127.0.0.1:8090/job-admin
executor
:
address
:
appname
:
shop-mall
ip
:
127.0.0.1
logpath
:
/home/meepo/logs/xxl-job/jobhandler
logretentiondays
:
30
port
:
9999
This diff is collapsed.
Click to expand it.
xxl-job/xxl-job-admin/src/main/resources/application.properties
View file @
2175fbbb
...
...
@@ -24,8 +24,8 @@ mybatis.mapper-locations=classpath:/mybatis-mapper/*Mapper.xml
### xxl-job, datasource
spring.datasource.url
=
jdbc:mysql://127.0.0.1:3306/xxl_job?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai
spring.datasource.username
=
qunzhihe
spring.datasource.password
=
j2kRn8HjrPez7trw
spring.datasource.username
=
xxl_job
spring.datasource.password
=
6EmAWkCtwc5SjKxd
spring.datasource.driver-class-name
=
com.mysql.cj.jdbc.Driver
### datasource-pool
...
...
This diff is collapsed.
Click to expand it.
xxl-job/xxl-job-admin/src/main/resources/logback.xml
View file @
2175fbbb
...
...
@@ -2,7 +2,7 @@
<configuration
debug=
"false"
scan=
"true"
scanPeriod=
"1 seconds"
>
<contextName>
logback
</contextName>
<property
name=
"log.path"
value=
"/
data/app
logs/xxl-job/xxl-job-admin.log"
/>
<property
name=
"log.path"
value=
"/
home/meepo/
logs/xxl-job/xxl-job-admin.log"
/>
<appender
name=
"console"
class=
"ch.qos.logback.core.ConsoleAppender"
>
<encoder>
...
...
This diff is collapsed.
Click to expand it.
xxl-job/xxl-job-core/src/main/java/com/xxl/job/core/log/XxlJobFileAppender.java
View file @
2175fbbb
...
...
@@ -28,7 +28,7 @@ public class XxlJobFileAppender {
* ---/2017-12-25/821.log
*
*/
private
static
String
logBasePath
=
"/
data/app
logs/xxl-job/jobhandler"
;
private
static
String
logBasePath
=
"/
home/meepo/
logs/xxl-job/jobhandler"
;
private
static
String
glueSrcPath
=
logBasePath
.
concat
(
"/gluesource"
);
public
static
void
initLogPath
(
String
logPath
){
// init
...
...
This diff is collapsed.
Click to expand it.
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