热加载日志

This commit is contained in:
guoshengxiong 2025-11-04 11:49:46 +08:00
parent 2a06c95f3b
commit ed4e521948

View File

@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration debug="false" scan="true" scanPeriod="60 seconds">
<springProperty scop="context" name="spring.application.name" source="spring.application.name" defaultValue="logs"/>
<property name="log.path" value="logs/${spring.application.name}"/>
<property name="log.path" value="logs/logs"/>
<!-- Console log output -->
<appender name="console" class="ch.qos.logback.core.ConsoleAppender">
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">