Skip to content

Commit 1ac9223

Browse files
authored
Capitalize first letter in done logs for easier grepping (#3769)
fixes #3768
1 parent 7ba25c1 commit 1ac9223

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/history/BoundaryChangesets.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public synchronized List<String> getBoundaryChangesetIDs(String sinceRevision) t
9191
Collections.reverse(result);
9292

9393
stat.report(LOGGER, Level.FINE,
94-
String.format("done getting boundary changesets for ''%s'' (%d entries)",
94+
String.format("Done getting boundary changesets for ''%s'' (%d entries)",
9595
repository.getDirectoryName(), result.size()));
9696

9797
return List.copyOf(result);

opengrok-indexer/src/main/java/org/opengrok/indexer/history/HistoryGuru.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ public void invalidateRepositories(Collection<? extends RepositoryInfo> repos, C
854854
clear();
855855
newrepos.forEach((_key, repo) -> putRepository(repo));
856856

857-
elapsed.report(LOGGER, String.format("done invalidating %d repositories", newrepos.size()),
857+
elapsed.report(LOGGER, String.format("Done invalidating %d repositories", newrepos.size()),
858858
"history.repositories.invalidate");
859859
}
860860

opengrok-indexer/src/main/java/org/opengrok/indexer/index/Indexer.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,7 @@ public static void writeConfigToFile(RuntimeEnvironment env, String filename) th
945945
if (filename != null) {
946946
LOGGER.log(Level.INFO, "Writing configuration to {0}", filename);
947947
env.writeConfiguration(new File(filename));
948-
LOGGER.info("Done...");
948+
LOGGER.log(Level.INFO, "Done writing configuration to {0}", filename);
949949
}
950950
}
951951

@@ -1042,14 +1042,14 @@ public void prepareIndexer(RuntimeEnvironment env,
10421042
if (createHistoryCache) {
10431043
// Even if history is disabled globally, it can be enabled for some repositories.
10441044
if (repositories != null && !repositories.isEmpty()) {
1045-
LOGGER.log(Level.INFO, "Generating history cache for repositories: " +
1045+
LOGGER.log(Level.INFO, "Generating history cache for repositories: {0}",
10461046
String.join(",", repositories));
10471047
HistoryGuru.getInstance().createCache(repositories);
10481048
} else {
10491049
LOGGER.log(Level.INFO, "Generating history cache for all repositories ...");
10501050
HistoryGuru.getInstance().createCache();
10511051
}
1052-
LOGGER.info("Done...");
1052+
LOGGER.info("Done generating history cache");
10531053
}
10541054

10551055
if (createDict) {

tools/src/main/python/opengrok_tools/utils/command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ def close(self):
268268

269269
self.logger.debug("Waiting for process with PID {}".format(p.pid))
270270
p.wait()
271-
self.logger.debug("done waiting")
271+
self.logger.debug("Done waiting")
272272

273273
if self.timeout:
274274
e = timeout_thread.get_exception()

0 commit comments

Comments
 (0)