[ https://issues.apache.org/jira/browse/SOLR-9548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15522563#comment-15522563 ]
Jan Høydahl commented on SOLR-9548: ----------------------------------- I committed to master. But when testing further, I see that the version printout never contains {{-SNAPSHOT}} even from my own build. I'm using {{Version.LATEST}}. I think it would make sense to be able to distinguish from the log whether this is an official full release or a SNAPSHOT build. How can I do this in the best way? I see that the SystemInfoHandler uses {{SolrCore.class.getPackage().getImplementationVersion()}}, but is there a simpler way? I'd like it to simply print the spec-version if it is an official release, but perhaps the full impl-version if it is a snapshot release? > solr.log should start with informative welcome message > ------------------------------------------------------ > > Key: SOLR-9548 > URL: https://issues.apache.org/jira/browse/SOLR-9548 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: Server > Reporter: Jan Høydahl > Assignee: Jan Høydahl > Labels: logging > Fix For: 6.3, master (7.0) > > Attachments: SOLR-9548.patch > > > When starting Solr, the first log line should be more informative, such as > {code} > Welcome to Apache Solr™ version 7.0.0, running in standalone mode on port > 8983 from folder /Users/janhoy/git/lucene-solr/solr > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org