|
@@ -1,8 +1,9 @@
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<configuration>
|
|
|
|
|
|
+ <springProperty name="application_name" scope="context" source="spring.application.name"/>
|
|
|
<springProperty scope="context" name="LOG_HOME" source="logging.path"
|
|
|
- defaultValue="serverlog"/>
|
|
|
+ defaultValue="${user.dir}/logs/${application_name}"/>
|
|
|
|
|
|
<!-- 日志级别 -->
|
|
|
<springProperty scope="context" name="LOG_ROOT_LEVEL" source="logging.level.root" defaultValue="INFO"/>
|