Helius
2021-03-12 74c74e885b688b7c4e8bdd50451858f773994a42
modify
2 files modified
10 ■■■■ changed files
src/main/resources/application-prod.yml 8 ●●●● patch | view | raw | blame | history
src/main/resources/logback-spring.xml 2 ●●● patch | view | raw | blame | history
src/main/resources/application-prod.yml
@@ -18,17 +18,17 @@
          username: db_hibit
          password: hibit123!@#
          driver-class-name: com.mysql.cj.jdbc.Driver
          url: jdbc:mysql://124.70.222.34:3306/db_hibit?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8
          url: jdbc:mysql://192.168.0.151:3306/db_hibit?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8
  redis:
    # Redis数据库索引(默认为 0)
    database: 1
    database: 0
    ## Redis服务器地址
    host: 114.55.92.106
    host: 192.168.0.36
    ## Redis服务器连接端口
    port: 6379
    ## Redis服务器连接密码(默认为空)
    password: hibit123
    password: d32ncxe@i3#!dV
    lettuce:
      pool:
        # 连接池中的最小空闲连接
src/main/resources/logback-spring.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration scan="true" scanPeriod="60 seconds" debug="false">
    <contextName>febs</contextName>
    <property name="log.path" value="logs/back" />
    <property name="log.path" value="hibit/back/logs" />
    <property name="log.maxHistory" value="15" />
    <property name="log.colorPattern" value="%magenta(%d{yyyy-MM-dd HH:mm:ss}) %highlight(%-5level) %yellow(%thread) %green(%logger) %msg%n"/>
    <property name="log.pattern" value="%d{yyyy-MM-dd HH:mm:ss} %-5level %thread %logger %msg%n"/>