Commit f197e522 by liyuan

gateway 配置文件

parent f0806d22
logging.level.org.springframework=INFO
logging.level.com.byit.gateway=DEBUG
# myth-rpc
myth-rpc.remoting.port=7080
myth-rpc.registry.address=http://localhost:8080/myth-register
myth-rpc.registry.env=dev
myth-rpc.registry.biz=${spring.application.name}
spring.zuul.route.refreshCron:0/10 * * * * ?
# Druid
logging.level.druid.sql=ERROR
logging.level.druid.sql.DataSource=ERROR
logging.level.druid.sql.Connection=ERROR
logging.level.druid.sql.Statement=DEBUG
logging.level.druid.sql.ResultSet=ERROR
#datasource
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.url=jdbc:mysql://10.0.10.118:3306/myth-registry?useUnicode=true&useSSL=true&characterEncoding=utf-8&mysqlEncoding=utf8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=false&autoReconnect=true&failOverReadOnly=false
spring.datasource.username=root
spring.datasource.password=123456
spring.datasource.hikari.idle-timeout=60000
spring.datasource.hikari.maximum-pool-size=5
spring.datasource.hikari.minimum-idle=1
server.port=8081
spring.profiles.active=dev
spring.application.name=byit-myth-gateway
zuul.ignored-services="*"
logging.config=classpath:logback.xml
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<!-- 引用现有配置 -->
<include resource="org/springframework/boot/logging/logback/defaults.xml" />
<!-- 控制台 -->
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>${CONSOLE_LOG_PATTERN}</pattern>
</encoder>
</appender>
<root level="INFO">
<appender-ref ref="CONSOLE" />
</root>
</configuration>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment