When running for the first time (no configuration.xml file) the indexer complains multiple times after this piece of code
if (project != null) {
if (env.getConfigHost() != null && env.getConfigPort() > 0) {
Message m = Message.createMessage("project");
m.addTag(project.getName());
m.setText("indexed");
m.write(env.getConfigHost(), env.getConfigPort());
}
// Also need to store the correct value in configuration
// when indexer writes it to a file.
project.setIndexed(true);
}
with
opengrok_1 | 26-Jan-2018 08:13:11.253 WARNING [configurationListener] org.opensolaris.opengrok.configuration.messages.ProjectMessage.applyMessage cannot find project x to mark as indexed
opengrok_1 | 26-Jan-2018 08:13:17.596 WARNING [configurationListener] org.opensolaris.opengrok.configuration.messages.ProjectMessage.applyMessage cannot find project y to mark as indexed
I wonder if there is a way how to avoid this cause it seems obvious for me that there is no such project but can be a little bit misleading for people with no insights.
When running for the first time (no
configuration.xml
file) the indexer complains multiple times after this piece of codewith
I wonder if there is a way how to avoid this cause it seems obvious for me that there is no such project but can be a little bit misleading for people with no insights.