Commit 2175fbbb authored by liqin's avatar liqin 💬

bug fixed

parent b9c9690d
......@@ -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
......@@ -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
......
......@@ -2,7 +2,7 @@
<configuration debug="false" scan="true" scanPeriod="1 seconds">
<contextName>logback</contextName>
<property name="log.path" value="/data/applogs/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>
......
......@@ -28,7 +28,7 @@ public class XxlJobFileAppender {
* ---/2017-12-25/821.log
*
*/
private static String logBasePath = "/data/applogs/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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment