diff --git a/eiam-console/src/main/resources/application.yml b/eiam-console/src/main/resources/application.yml
index 13183caa..544cd4dd 100644
--- a/eiam-console/src/main/resources/application.yml
+++ b/eiam-console/src/main/resources/application.yml
@@ -89,19 +89,7 @@ spring:
jpa:
hibernate:
ddl-auto: none
- show-sql: true
- properties:
- hibernate:
- show_sql: true
- format_sql: true
- use_sql_comments: true
- jdbc:
- batch_size: 500
- batch_versioned_data: true
- order_inserts: true
- types:
- print:
- banner: false
+ open-in-view: true
main:
banner-mode: off
quartz:
diff --git a/eiam-openapi/src/main/resources/application.yml b/eiam-openapi/src/main/resources/application.yml
index 5aa21148..797ec205 100644
--- a/eiam-openapi/src/main/resources/application.yml
+++ b/eiam-openapi/src/main/resources/application.yml
@@ -89,19 +89,7 @@ spring:
jpa:
hibernate:
ddl-auto: none
- show-sql: true
- properties:
- hibernate:
- show_sql: true
- format_sql: true
- use_sql_comments: true
- jdbc:
- batch_size: 500
- batch_versioned_data: true
- order_inserts: true
- types:
- print:
- banner: false
+ open-in-view: true
main:
banner-mode: off
#日志配置
diff --git a/eiam-openapi/src/main/resources/config/logback-spring.xml b/eiam-openapi/src/main/resources/config/logback-spring.xml
new file mode 100644
index 00000000..fa5a6513
--- /dev/null
+++ b/eiam-openapi/src/main/resources/config/logback-spring.xml
@@ -0,0 +1,165 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${CONSOLE_LOG_PATTERN}
+ utf-8
+
+
+
+
+
+ ${CONSOLE_LOG_PATTERN}
+ utf-8
+
+
+ ERROR
+ ACCEPT
+ DENY
+
+
+ ${ROOT}%d/%d-error-%i.log
+ ${MAXHISTORY}
+ ${FILESIZE}
+
+
+
+
+
+ ${CONSOLE_LOG_PATTERN}
+ utf-8
+
+
+ WARN
+ ACCEPT
+ DENY
+
+
+ ${ROOT}%d/%d-warn-%i.log
+ ${MAXHISTORY}
+ ${FILESIZE}
+
+
+
+
+
+ ${CONSOLE_LOG_PATTERN}
+ utf-8
+
+
+ INFO
+ ACCEPT
+ DENY
+
+
+ ${ROOT}%d/%d-info-%i.log
+ ${MAXHISTORY}
+ ${FILESIZE}
+
+
+
+
+
+ ${CONSOLE_LOG_PATTERN}
+ utf-8
+
+
+ DEBUG
+ ACCEPT
+ DENY
+
+
+ ${ROOT}%d/%d-debug-%i.log
+ ${MAXHISTORY}
+ ${FILESIZE}
+
+
+
+
+
+ ${CONSOLE_LOG_PATTERN}
+ utf-8
+
+
+ TRACE
+ ACCEPT
+ DENY
+
+
+ ${ROOT}%d/%d-trace-%i.log
+ ${MAXHISTORY}
+ ${FILESIZE}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/eiam-portal/src/main/resources/application.yml b/eiam-portal/src/main/resources/application.yml
index d18c9839..1697ea01 100644
--- a/eiam-portal/src/main/resources/application.yml
+++ b/eiam-portal/src/main/resources/application.yml
@@ -89,19 +89,7 @@ spring:
jpa:
hibernate:
ddl-auto: none
- show-sql: true
- properties:
- hibernate:
- show_sql: true
- format_sql: true
- use_sql_comments: true
- jdbc:
- batch_size: 500
- batch_versioned_data: true
- order_inserts: true
- types:
- print:
- banner: false
+ open-in-view: true
main:
banner-mode: off
quartz:
diff --git a/eiam-portal/src/main/resources/config/logback-spring.xml b/eiam-portal/src/main/resources/config/logback-spring.xml
new file mode 100644
index 00000000..52d39e2f
--- /dev/null
+++ b/eiam-portal/src/main/resources/config/logback-spring.xml
@@ -0,0 +1,165 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${CONSOLE_LOG_PATTERN}
+ utf-8
+
+
+
+
+
+ ${CONSOLE_LOG_PATTERN}
+ utf-8
+
+
+ ERROR
+ ACCEPT
+ DENY
+
+
+ ${ROOT}%d/%d-error-%i.log
+ ${MAXHISTORY}
+ ${FILESIZE}
+
+
+
+
+
+ ${CONSOLE_LOG_PATTERN}
+ utf-8
+
+
+ WARN
+ ACCEPT
+ DENY
+
+
+ ${ROOT}%d/%d-warn-%i.log
+ ${MAXHISTORY}
+ ${FILESIZE}
+
+
+
+
+
+ ${CONSOLE_LOG_PATTERN}
+ utf-8
+
+
+ INFO
+ ACCEPT
+ DENY
+
+
+ ${ROOT}%d/%d-info-%i.log
+ ${MAXHISTORY}
+ ${FILESIZE}
+
+
+
+
+
+ ${CONSOLE_LOG_PATTERN}
+ utf-8
+
+
+ DEBUG
+ ACCEPT
+ DENY
+
+
+ ${ROOT}%d/%d-debug-%i.log
+ ${MAXHISTORY}
+ ${FILESIZE}
+
+
+
+
+
+ ${CONSOLE_LOG_PATTERN}
+ utf-8
+
+
+ TRACE
+ ACCEPT
+ DENY
+
+
+ ${ROOT}%d/%d-trace-%i.log
+ ${MAXHISTORY}
+ ${FILESIZE}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+