This commit is contained in:
Administrator
2024-05-12 23:37:19 +08:00
parent 0da56fc7e1
commit 09166a8fb8
2 changed files with 2 additions and 2 deletions

View File

@@ -48,7 +48,7 @@ services:
NACOS_HOST: nacos
restart: on-failure
volumes:
- /tmp:/app
- /tmp/log:/tmp
networks:
- mynetwork
ports:

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="INFO">
<File name="File" fileName="/app/logfile.log">
<File name="File" fileName="/tmp/logfile.log">
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
</File>
<Loggers>