Commit 4b7e4e0d authored by liming's avatar liming

修改server-api test环境配置

parent 2408d514
......@@ -6,7 +6,19 @@ spring:
database: 1
host: 127.0.0.1
port: 6379
password: ENC(yKZoKLWfAj6BRglq4C2HWWjsL64maeCm)
password: ENC(4yi769QrulhSbnefFrKAf6SG6ssIca8i)
swagger:
enable: true
\ No newline at end of file
enable: true
aliyun:
oss:
region-id: cn-beijing
access-key-id: LTAI5tJag75RdSQiVopwRdhc
access-key-secret: ShrA1zdrCRevavWUU9GwgyIodMFB2F
enabled: true
endpoint: https://oss-cn-beijing.aliyuncs.com
bucket-name: shanghaijingji-sport-test
cdn-url: https://shanghaijingji-sport-test.oss-cn-beijing.aliyuncs.com/
logging:
config: classpath:logback-spring-test.xml
\ No newline at end of file
<configuration>
<!--为了防止进程退出时,内存中的数据丢失,请加上此选项-->
<shutdownHook class="ch.qos.logback.core.hook.DelayingShutdownHook"/>
<appender name="fileAppender" class="ch.qos.logback.core.rolling.RollingFileAppender">
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
<!-- daily rollover -->
<fileNamePattern>/usr/local/project/server-api/logs/logFile.%d{yyyy-MM-dd}-%i.log</fileNamePattern>
<!-- keep 30 days' worth of history capped at 3GB total size -->
<maxHistory>30</maxHistory>
<maxFileSize>100MB</maxFileSize>
<totalSizeCap>3GB</totalSizeCap>
</rollingPolicy>
<!-- encoders are assigned the type ch.qos.logback.classic.encoder.PatternLayoutEncoder
by default -->
<encoder>
<pattern>%d %-5level [%thread] %logger{0}: %msg %n</pattern>
</encoder>
</appender>
<root>
<level value="INFO"/>
<appender-ref ref="fileAppender"/>
</root>
</configuration>
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