diff --git a/ruoyi-auth/src/main/resources/bootstrap-dev.yml b/ruoyi-auth/src/main/resources/bootstrap-dev.yml index 079c1cdc4..adb73ea13 100644 --- a/ruoyi-auth/src/main/resources/bootstrap-dev.yml +++ b/ruoyi-auth/src/main/resources/bootstrap-dev.yml @@ -25,4 +25,9 @@ spring: - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} namespace: 78a7f41e-46cc-437a-9716-735888227693 username: nacos - password: u0uM2RIp3Xle9VVFWtpzoz9ZdNbwG6PpWsjrOVphXzlDc0jA \ No newline at end of file + password: u0uM2RIp3Xle9VVFWtpzoz9ZdNbwG6PpWsjrOVphXzlDc0jA +logging: + file: + name: dev-ruoyi-auth.log + pattern: + file: "%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(%5p) %clr(${PID}){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n%wEx" \ No newline at end of file diff --git a/ruoyi-auth/src/main/resources/bootstrap-prod.yml b/ruoyi-auth/src/main/resources/bootstrap-prod.yml index e897d8bed..90c88f768 100644 --- a/ruoyi-auth/src/main/resources/bootstrap-prod.yml +++ b/ruoyi-auth/src/main/resources/bootstrap-prod.yml @@ -26,4 +26,9 @@ spring: - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} namespace: e2708b29-ca15-4f63-a919-d33932ebdfda username: nacos - password: u0uM2RIp3Xle9VVFWtpzoz9ZdNbwG6PpWsjrOVphXzlDc0jA \ No newline at end of file + password: u0uM2RIp3Xle9VVFWtpzoz9ZdNbwG6PpWsjrOVphXzlDc0jA +logging: + file: + name: prod-ruoyi-auth.log + pattern: + file: "%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(%5p) %clr(${PID}){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n%wEx" \ No newline at end of file diff --git a/ruoyi-auth/src/main/resources/bootstrap-test.yml b/ruoyi-auth/src/main/resources/bootstrap-test.yml index cad09fd51..4f32aefc8 100644 --- a/ruoyi-auth/src/main/resources/bootstrap-test.yml +++ b/ruoyi-auth/src/main/resources/bootstrap-test.yml @@ -25,4 +25,9 @@ spring: - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} namespace: 45c724b0-9b42-4ff2-bff2-9220a1788392 username: nacos - password: u0uM2RIp3Xle9VVFWtpzoz9ZdNbwG6PpWsjrOVphXzlDc0jA \ No newline at end of file + password: u0uM2RIp3Xle9VVFWtpzoz9ZdNbwG6PpWsjrOVphXzlDc0jA +logging: + file: + name: test-ruoyi-auth.log + pattern: + file: "%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(%5p) %clr(${PID}){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n%wEx" \ No newline at end of file diff --git a/ruoyi-gateway/src/main/resources/bootstrap-dev.yml b/ruoyi-gateway/src/main/resources/bootstrap-dev.yml index e544aafe6..9efc6bb39 100644 --- a/ruoyi-gateway/src/main/resources/bootstrap-dev.yml +++ b/ruoyi-gateway/src/main/resources/bootstrap-dev.yml @@ -40,4 +40,9 @@ spring: dataId: sentinel-ruoyi-gateway groupId: DEFAULT_GROUP data-type: json - rule-type: gw-flow \ No newline at end of file + rule-type: gw-flow +logging: + file: + name: dev-ruoyi-gateway.log + pattern: + file: "%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(%5p) %clr(${PID}){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n%wEx" \ No newline at end of file diff --git a/ruoyi-gateway/src/main/resources/bootstrap-prod.yml b/ruoyi-gateway/src/main/resources/bootstrap-prod.yml index 63c81d5bb..ba774ef13 100644 --- a/ruoyi-gateway/src/main/resources/bootstrap-prod.yml +++ b/ruoyi-gateway/src/main/resources/bootstrap-prod.yml @@ -41,4 +41,9 @@ spring: dataId: sentinel-ruoyi-gateway groupId: DEFAULT_GROUP data-type: json - rule-type: gw-flow \ No newline at end of file + rule-type: gw-flow +logging: + file: + name: prod-ruoyi-gateway.log + pattern: + file: "%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(%5p) %clr(${PID}){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n%wEx" \ No newline at end of file diff --git a/ruoyi-gateway/src/main/resources/bootstrap-test.yml b/ruoyi-gateway/src/main/resources/bootstrap-test.yml index f654dafd5..3418f8125 100644 --- a/ruoyi-gateway/src/main/resources/bootstrap-test.yml +++ b/ruoyi-gateway/src/main/resources/bootstrap-test.yml @@ -40,4 +40,9 @@ spring: dataId: sentinel-ruoyi-gateway groupId: DEFAULT_GROUP data-type: json - rule-type: gw-flow \ No newline at end of file + rule-type: gw-flow +logging: + file: + name: test-ruoyi-gateway.log + pattern: + file: "%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(%5p) %clr(${PID}){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n%wEx" \ No newline at end of file diff --git a/ruoyi-modules/ruoyi-system/src/main/resources/bootstrap-dev.yml b/ruoyi-modules/ruoyi-system/src/main/resources/bootstrap-dev.yml index cdeab24e6..79784ca31 100644 --- a/ruoyi-modules/ruoyi-system/src/main/resources/bootstrap-dev.yml +++ b/ruoyi-modules/ruoyi-system/src/main/resources/bootstrap-dev.yml @@ -25,4 +25,9 @@ spring: - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} namespace: 78a7f41e-46cc-437a-9716-735888227693 username: nacos - password: u0uM2RIp3Xle9VVFWtpzoz9ZdNbwG6PpWsjrOVphXzlDc0jA \ No newline at end of file + password: u0uM2RIp3Xle9VVFWtpzoz9ZdNbwG6PpWsjrOVphXzlDc0jA +logging: + file: + name: dev-ruoyi-system.log + pattern: + file: "%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(%5p) %clr(${PID}){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n%wEx" \ No newline at end of file diff --git a/ruoyi-modules/ruoyi-system/src/main/resources/bootstrap-prod.yml b/ruoyi-modules/ruoyi-system/src/main/resources/bootstrap-prod.yml index 8309af025..6281072f6 100644 --- a/ruoyi-modules/ruoyi-system/src/main/resources/bootstrap-prod.yml +++ b/ruoyi-modules/ruoyi-system/src/main/resources/bootstrap-prod.yml @@ -25,4 +25,9 @@ spring: - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} namespace: e2708b29-ca15-4f63-a919-d33932ebdfda username: nacos - password: u0uM2RIp3Xle9VVFWtpzoz9ZdNbwG6PpWsjrOVphXzlDc0jA \ No newline at end of file + password: u0uM2RIp3Xle9VVFWtpzoz9ZdNbwG6PpWsjrOVphXzlDc0jA +logging: + file: + name: prod-ruoyi-system.log + pattern: + file: "%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(%5p) %clr(${PID}){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n%wEx" \ No newline at end of file diff --git a/ruoyi-modules/ruoyi-system/src/main/resources/bootstrap-test.yml b/ruoyi-modules/ruoyi-system/src/main/resources/bootstrap-test.yml index 55020a44c..fe61111d3 100644 --- a/ruoyi-modules/ruoyi-system/src/main/resources/bootstrap-test.yml +++ b/ruoyi-modules/ruoyi-system/src/main/resources/bootstrap-test.yml @@ -24,4 +24,9 @@ spring: - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} namespace: 45c724b0-9b42-4ff2-bff2-9220a1788392 username: nacos - password: u0uM2RIp3Xle9VVFWtpzoz9ZdNbwG6PpWsjrOVphXzlDc0jA \ No newline at end of file + password: u0uM2RIp3Xle9VVFWtpzoz9ZdNbwG6PpWsjrOVphXzlDc0jA +logging: + file: + name: test-ruoyi-system.log + pattern: + file: "%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(%5p) %clr(${PID}){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n%wEx" \ No newline at end of file