mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 18:17:43 +00:00
fix logging solr start command
This commit is contained in:
parent
ab9fffe683
commit
4fde97df23
@ -359,7 +359,7 @@ public class Server {
|
|||||||
} else {
|
} else {
|
||||||
loggingPropertiesFilePath += "logging-release.properties";
|
loggingPropertiesFilePath += "logging-release.properties";
|
||||||
}
|
}
|
||||||
//loggingPropertiesFilePath = PlatformUtil.getOSFilePath(loggingPropertiesFilePath);
|
|
||||||
final String loggingProperties = loggingPropertiesOpt + loggingPropertiesFilePath;
|
final String loggingProperties = loggingPropertiesOpt + loggingPropertiesFilePath;
|
||||||
|
|
||||||
final String [] SOLR_START_CMD = {
|
final String [] SOLR_START_CMD = {
|
||||||
@ -371,7 +371,13 @@ public class Server {
|
|||||||
loggingProperties,
|
loggingProperties,
|
||||||
"-jar",
|
"-jar",
|
||||||
"start.jar"};
|
"start.jar"};
|
||||||
logger.log(Level.INFO, "Starting Solr using: " + SOLR_START_CMD);
|
|
||||||
|
StringBuilder cmdSb = new StringBuilder();
|
||||||
|
for (int i = 0; i<SOLR_START_CMD.length; ++i ) {
|
||||||
|
cmdSb.append(SOLR_START_CMD[i]).append(" ");
|
||||||
|
}
|
||||||
|
|
||||||
|
logger.log(Level.INFO, "Starting Solr using: " + cmdSb.toString());
|
||||||
curSolrProcess = Runtime.getRuntime().exec(SOLR_START_CMD, null, solrFolder);
|
curSolrProcess = Runtime.getRuntime().exec(SOLR_START_CMD, null, solrFolder);
|
||||||
logger.log(Level.INFO, "Finished starting Solr");
|
logger.log(Level.INFO, "Finished starting Solr");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user