From 15f86364989f783eed1ab3f1977109bdb8b93af3 Mon Sep 17 00:00:00 2001 From: kaixiliu Date: Wed, 28 Jun 2023 17:25:21 +0800 Subject: Modify log file path Issue-ID: USECASEUI-816 Signed-off-by: kaixiliu Change-Id: I3bbb6638901432b80f32e0346f591c18a1847552 (cherry picked from commit 25c3ab069bf8e326d3a6a609b71db30e8d5f90f9) --- intentanalysis/src/main/resources/logback.xml | 4 ++-- standalone/src/main/assembly/Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/intentanalysis/src/main/resources/logback.xml b/intentanalysis/src/main/resources/logback.xml index 05bf36d..5133720 100644 --- a/intentanalysis/src/main/resources/logback.xml +++ b/intentanalysis/src/main/resources/logback.xml @@ -27,7 +27,7 @@ ERROR - /var/log/usecaseui/intent-analysis/ERROR.log + logs/usecaseui/intent-analysis/ERROR.log true true @@ -43,7 +43,7 @@ - /var/log/usecaseui/intent-analysis/%d{yyyy-MM}-DEBUG.log + logs/%d{yyyy-MM}-DEBUG.log 90 3GB diff --git a/standalone/src/main/assembly/Dockerfile b/standalone/src/main/assembly/Dockerfile index 195cd65..3fcdf93 100644 --- a/standalone/src/main/assembly/Dockerfile +++ b/standalone/src/main/assembly/Dockerfile @@ -12,7 +12,7 @@ EXPOSE 8083 RUN addgroup -S uui && adduser -S uui -G uui && chown -R uui:uui /home/uui -USER UUI +USER uui WORKDIR /home/uui ENTRYPOINT ["sh", "-c"] CMD ["exec java -jar usecase-ui-intent-analysis.jar"] -- cgit 1.2.3-korg