ruoyi-admin-ztns/src/main/resources/logback.xml
@@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <configuration> <!-- 日志存放路径 --> <springProperty scope="context" name="logs" source="logging.file-location" default="/logs"/> <springProperty scope="context" name="logs" source="logging.file-location" default="/ztns-logs"/> <property name="log.path" value="${logs}"/> <!-- 日志输出格式 -->