Browse Source

禁用spring.jmx选项

Sand Wen 8 years ago
parent
commit
3dc53302d0
2 changed files with 4 additions and 2 deletions
  1. 3 1
      application.yml
  2. 1 1
      svr-adaption.yml

+ 3 - 1
application.yml

@ -77,7 +77,9 @@ endpoints:
    sensitive: false
spring:
  #JPA config for MySQL
  jmx:
    enabled: false
  
  jpa:
    database-platform: org.hibernate.dialect.MySQL5Dialect
    hibernate.dialect: org.hibernate.dialect.MySQL5Dialect

+ 1 - 1
svr-adaption.yml

@ -1,7 +1,7 @@
logging:
  level:
    com:
      netflix: DEBUG
      netflix: INFO
data-source:
  driver-class-name: com.mysql.jdbc.Driver