docker修改为普通用户,文件统一存放到home目录

This commit is contained in:
三丙
2024-11-22 15:30:20 +08:00
parent 6f078284ea
commit c23b25e6c5
8 changed files with 35 additions and 38 deletions

View File

@@ -12,7 +12,7 @@
accesslog:
enabled: true
pattern: "%t %a %r %s (%D ms)"
dir: /var/log/sanbing/accesslog
dir: logs/accesslog
options:
server:
record-request-start-time: true

View File

@@ -2,7 +2,7 @@
<configuration status="INFO" monitorInterval="30">
<properties>
<Property name="LOG_DIR">/var/log/sanbing/jcpp</Property>
<Property name="LOG_DIR">/home/sanbing/logs/jcpp</Property>
<Property name="LOG_PATTERN">%d{yyyy-MM-dd HH:mm:ss:SSS} [%X{TRACE_ID}] [%t] %p %c{1} %m%n%throwable</Property>
</properties>