Print solr url on start

This is useful info to see which url has been selected, same as db
connection.
This commit is contained in:
Eike Kettner
2020-08-01 15:58:28 +02:00
parent 1fc57fc2b2
commit 45b0deeced
3 changed files with 7 additions and 3 deletions

View File

@ -46,7 +46,8 @@ object Main extends IOApp {
cfg.backend.jdbc.url,
Option(System.getProperty("config.file")),
cfg.appId,
cfg.baseUrl
cfg.baseUrl,
Some(cfg.fullTextSearch.solr.url).filter(_ => cfg.fullTextSearch.enabled)
)
val pools = for {
cec <- connectEC