Skip to content

Commit

Permalink
Avoid spamming the console with "Connection refused" when elasticsear…
Browse files Browse the repository at this point in the history
…ch connection is not available

#370
  • Loading branch information
teosarca committed May 12, 2017
1 parent 8fcadbe commit 14e0def
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,7 @@ logging.level.de.codecentric.boot.admin.services.ApplicationRegistrator=ERROR
spring.data.elasticsearch.cluster-name=metasfresh
spring.data.elasticsearch.cluster-nodes=localhost:9300
#spring.data.elasticsearch.repositories.enabled=true
# NOTE: Avoid spamming the console in case there is no connection to elasticsearch. Those "Connection refused" are logged as INFO
logging.level.org.elasticsearch.client.transport=WARN


0 comments on commit 14e0def

Please sign in to comment.