From 9ff0b09d4d1deb0a9e0dbe57ee5c85295a9c4495 Mon Sep 17 00:00:00 2001 From: Liang <545073804@qq.com> Date: 星期四, 11 四月 2024 15:08:55 +0800 Subject: [PATCH] fix 修复 easy-retry-server 日志xml配置错误 --- ruoyi-extend/ruoyi-easyretry-server/src/main/resources/application.yml | 54 ++++++++++++++---------------------------------------- 1 files changed, 14 insertions(+), 40 deletions(-) diff --git a/ruoyi-extend/ruoyi-easyretry-server/src/main/resources/application.yml b/ruoyi-extend/ruoyi-easyretry-server/src/main/resources/application.yml index e813863..b6d8998 100644 --- a/ruoyi-extend/ruoyi-easyretry-server/src/main/resources/application.yml +++ b/ruoyi-extend/ruoyi-easyretry-server/src/main/resources/application.yml @@ -2,26 +2,12 @@ port: 8800 servlet: context-path: /easy-retry + spring: application: name: ruoyi-easyretry-server profiles: active: @profiles.active@ - datasource: - name: ry-vue - url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true - username: root - password: root - type: com.zaxxer.hikari.HikariDataSource - driver-class-name: com.mysql.cj.jdbc.Driver - hikari: - connection-timeout: 30000 - minimum-idle: 5 - maximum-pool-size: 20 - auto-commit: true - idle-timeout: 30000 - pool-name: easy_retry - max-lifetime: 1800000 web: resources: static-locations: classpath:admin/ @@ -30,6 +16,7 @@ typeAliasesPackage: com.aizuda.easy.retry.template.datasource.persistence.po global-config: db-config: + table-prefix: er_ where-strategy: NOT_EMPTY capital-mode: false logic-delete-value: 1 @@ -37,30 +24,17 @@ configuration: map-underscore-to-camel-case: true cache-enabled: true + logging: - config: classpath:logback-boot.xml + config: classpath:logback-plus.xml -easy-retry: - retry-pull-page-size: 1000 # 鎷夊彇閲嶈瘯鏁版嵁鐨勬瘡鎵规鐨勫ぇ灏� - job-pull-page-size: 1000 # 鎷夊彇閲嶈瘯鏁版嵁鐨勬瘡鎵规鐨勫ぇ灏� - netty-port: 1788 # 鏈嶅姟绔痭etty绔彛 - total-partition: 2 # 閲嶈瘯鍜屾淇¤〃鐨勫垎鍖烘�绘暟 - limiter: 1000 # 涓�涓鎴风姣忕鏈�澶氭帴鏀剁殑閲嶈瘯鏁伴噺鎸囦护 - step: 100 # 鍙锋妯″紡涓嬫闀块厤缃� - log-storage: 90 # 鏃ュ織淇濆瓨鏃堕棿(鍗曚綅: day) - callback: # 鍥炶皟閰嶇疆 - max-count: 288 #鍥炶皟鏈�澶ф墽琛屾鏁� - trigger-interval: 900 #闂撮殧鏃堕棿 - db-type: mysql #褰撳墠浣跨敤鐨勬暟鎹簱 - mode: all - retry-max-pull-count: 10 - ---- # 鐩戞帶涓績閰嶇疆 -spring.boot.admin.client: - # 澧炲姞瀹㈡埛绔紑鍏� - enabled: true - url: http://localhost:9090/admin - instance: - service-host-type: IP - username: ruoyi - password: 123456 +management: + endpoints: + web: + exposure: + include: '*' + endpoint: + health: + show-details: ALWAYS + logfile: + external-file: ./logs/ruoyi-easyretry-server/console.log -- Gitblit v1.9.3