mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-24 16:58: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) {
|
public synchronized Cache getCache(String name, CacheType type) {
|
||||||
if (!manager.cacheExists(name)) {
|
if (!manager.cacheExists(name)) {
|
||||||
debug.config("Create cache: " + name);
|
|
||||||
manager.addCache(new net.sf.ehcache.Cache(type.getConfiguration(name)));
|
manager.addCache(new net.sf.ehcache.Cache(type.getConfiguration(name)));
|
||||||
}
|
}
|
||||||
return new Cache(manager.getCache(name));
|
return new Cache(manager.getCache(name));
|
||||||
|
@ -732,7 +732,7 @@ public class MediaDetection {
|
|||||||
List<T> ranking = options.stream().sorted(comparator).distinct().collect(toList());
|
List<T> ranking = options.stream().sorted(comparator).distinct().collect(toList());
|
||||||
|
|
||||||
// DEBUG
|
// DEBUG
|
||||||
debug.finest(format("%s => %s", terms, ranking));
|
debug.finest(format("Rank %s => %s", terms, ranking));
|
||||||
|
|
||||||
// sort by ranking and remove duplicate entries
|
// sort by ranking and remove duplicate entries
|
||||||
return ranking;
|
return ranking;
|
||||||
@ -942,7 +942,7 @@ public class MediaDetection {
|
|||||||
querySet = getUniqueQuerySet(emptySet(), stripBlacklistedTerms(querySet));
|
querySet = getUniqueQuerySet(emptySet(), stripBlacklistedTerms(querySet));
|
||||||
|
|
||||||
// DEBUG
|
// 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 Map<Movie, Float> probabilityMap = new LinkedHashMap<Movie, Float>();
|
||||||
final SimilarityMetric metric = getMovieMatchMetric();
|
final SimilarityMetric metric = getMovieMatchMetric();
|
||||||
|
Loading…
Reference in New Issue
Block a user