From 52f97e6ab53267f052dd0291e0cf4c4d0d7423f8 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Thu, 10 Mar 2016 20:42:32 +0000 Subject: [PATCH] Update debug logging --- source/net/filebot/CacheManager.java | 1 - source/net/filebot/media/MediaDetection.java | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/source/net/filebot/CacheManager.java b/source/net/filebot/CacheManager.java index 62cfdf2b..962c826c 100644 --- a/source/net/filebot/CacheManager.java +++ b/source/net/filebot/CacheManager.java @@ -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)); diff --git a/source/net/filebot/media/MediaDetection.java b/source/net/filebot/media/MediaDetection.java index 11792a46..201558dc 100644 --- a/source/net/filebot/media/MediaDetection.java +++ b/source/net/filebot/media/MediaDetection.java @@ -732,7 +732,7 @@ public class MediaDetection { List 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 probabilityMap = new LinkedHashMap(); final SimilarityMetric metric = getMovieMatchMetric();