Browse Source

xxljob适配新版

test
smallchill 3 years ago
parent
commit
fb71dfd95c
  1. 2
      blade-ops/blade-xxljob-admin/src/main/resources/logback.xml
  2. 4
      blade-ops/blade-xxljob/src/main/resources/application.yml
  3. 2
      blade-ops/blade-xxljob/src/main/resources/logback.xml

2
blade-ops/blade-xxljob-admin/src/main/resources/logback.xml

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<configuration debug="false" scan="true" scanPeriod="1 seconds"> <configuration scan="false" debug="false">
<contextName>logback</contextName> <contextName>logback</contextName>
<property name="log.path" value="../data/applogs/xxl-job/xxl-job-admin.log"/> <property name="log.path" value="../data/applogs/xxl-job/xxl-job-admin.log"/>

4
blade-ops/blade-xxljob/src/main/resources/application.yml

@ -4,6 +4,10 @@ server:
logging: logging:
config: classpath:logback.xml config: classpath:logback.xml
spring:
main:
allow-circular-references: true
xxl: xxl:
job: job:
accessToken: '' accessToken: ''

2
blade-ops/blade-xxljob/src/main/resources/logback.xml

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<configuration debug="false" scan="true" scanPeriod="1 seconds"> <configuration scan="false" debug="false">
<contextName>logback</contextName> <contextName>logback</contextName>
<property name="log.path" value="../data/applogs/xxl-job/xxl-job-executor-sample-springboot.log"/> <property name="log.path" value="../data/applogs/xxl-job/xxl-job-executor-sample-springboot.log"/>

Loading…
Cancel
Save