add:生产环境配置

This commit is contained in:
zhangzhiqiang
2023-03-01 15:23:54 +08:00
parent c30d6ea551
commit e5fb957b33
6 changed files with 23 additions and 5 deletions

View File

@@ -3,7 +3,7 @@
<springProperty scope="context" name="logPath" source="logging.file.path" defaultValue="logs"/>
<property name="LOG_HOME" value="${logPath}"/>
<appender name="esLogAppender" class="com.internetitem.logback.elasticsearch.ElasticsearchAppender">
<url>http://47.96.133.178:8200/_bulk</url>
<url>http://10.16.1.24:9200/_bulk</url>
<index>${esIndex}</index>
<type>whxr_log</type>
<loggerName>es-logger</loggerName> <!-- optional -->