mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-24 08:48:51 -05:00
Update debug logging
This commit is contained in:
parent
6d127e8385
commit
52f97e6ab5
@ -37,7 +37,6 @@ public class CacheManager {
|
||||
|
||||
public synchronized Cache getCache(String name, CacheType type) {
|
||||
if (!manager.cacheExists(name)) {
|
||||
debug.config("Create cache: " + name);
|
||||
manager.addCache(new net.sf.ehcache.Cache(type.getConfiguration(name)));
|
||||
}
|
||||
return new Cache(manager.getCache(name));
|
||||
|
@ -732,7 +732,7 @@ public class MediaDetection {
|
||||
List<T> ranking = options.stream().sorted(comparator).distinct().collect(toList());
|
||||
|
||||
// DEBUG
|
||||
debug.finest(format("%s => %s", terms, ranking));
|
||||
debug.finest(format("Rank %s => %s", terms, ranking));
|
||||
|
||||
// sort by ranking and remove duplicate entries
|
||||
return ranking;
|
||||
@ -942,7 +942,7 @@ public class MediaDetection {
|
||||
querySet = getUniqueQuerySet(emptySet(), stripBlacklistedTerms(querySet));
|
||||
|
||||
// DEBUG
|
||||
debug.finest(format("%s => %s", queryLookupService.getName(), querySet));
|
||||
debug.finest(format("Query %s => %s", queryLookupService.getName(), querySet));
|
||||
|
||||
final Map<Movie, Float> probabilityMap = new LinkedHashMap<Movie, Float>();
|
||||
final SimilarityMetric metric = getMovieMatchMetric();
|
||||
|
Loading…
Reference in New Issue
Block a user