소스 검색

修改日志配置

xueyiming 4 달 전
부모
커밋
cf43890491

+ 3 - 1
long-article-server/src/main/resources/application-prod.properties

@@ -17,4 +17,6 @@ apollo.meta: https://apolloconfig-internal.piaoquantv.com
 
 xxl.job.admin.addresses=http://xxl-job-internal.piaoquantv.com/xxl-job-admin
 
-aliyun.log.project=long-article-manage
+aliyun.log.project=long-article-manage
+
+logging.file.path=${datalog}/weblog/${spring.application.name}

+ 2 - 0
long-article-server/src/main/resources/application-test.properties

@@ -20,3 +20,5 @@ xxl.job.admin.addresses=http://xxl-job-internal.piaoquantv.com/xxl-job-admin
 download.path=/Users/shimeng/Desktop/download/
 
 aliyun.log.project=long-article-manage
+
+logging.file.path=/Users/shimeng/Desktop/log/${spring.application.name}

+ 0 - 3
long-article-server/src/main/resources/application.properties

@@ -38,10 +38,7 @@ xxl.job.executor.ip=
 xxl.job.executor.port=9999
 xxl.job.executor.logpath=${datalog}/xxl-job/
 xxl.job.executor.logretentiondays=30
-
 download.path=/download
-
-
 aliyun.log.endpoint=cn-hangzhou.log.aliyuncs.com
 aliyun.log.accessKeyId=LTAIP6x1l3DXfSxm
 aliyun.log.accessKeySecret=KbTaM9ars4OX3PMS6Xm7rtxGr1FLon