diff options
-rw-r--r-- | intentanalysis/src/main/resources/logback.xml | 4 | ||||
-rw-r--r-- | 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 @@ <level>ERROR</level> </filter> - <file>/var/log/usecaseui/intent-analysis/ERROR.log</file> + <file>logs/usecaseui/intent-analysis/ERROR.log</file> <append>true</append> <!-- set immediateFlush to false for much higher logging throughput --> <immediateFlush>true</immediateFlush> @@ -43,7 +43,7 @@ </filter> <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> - <fileNamePattern>/var/log/usecaseui/intent-analysis/%d{yyyy-MM}-DEBUG.log</fileNamePattern> + <fileNamePattern>logs/%d{yyyy-MM}-DEBUG.log</fileNamePattern> <maxHistory>90</maxHistory> <totalSizeCap>3GB</totalSizeCap> </rollingPolicy> 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"] |