From 95b9acbff742879c09eafe249832eaf4ec6774da Mon Sep 17 00:00:00 2001 From: Sebastien Date: Thu, 22 Nov 2018 02:03:26 +0200 Subject: [PATCH] Change log level --- src/main/java/net/Broken/audio/Youtube/YoutubeTools.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/net/Broken/audio/Youtube/YoutubeTools.java b/src/main/java/net/Broken/audio/Youtube/YoutubeTools.java index 12c3e78..369365e 100644 --- a/src/main/java/net/Broken/audio/Youtube/YoutubeTools.java +++ b/src/main/java/net/Broken/audio/Youtube/YoutubeTools.java @@ -109,7 +109,7 @@ public class YoutubeTools { } ArrayList finalResult = new ArrayList<>(); for(SearchResult item : response.getItems()){ - logger.debug(item.getSnippet().getTitle()); + logger.trace(item.getSnippet().getTitle()); finalResult.add(new net.Broken.audio.Youtube.SearchResult(item, videoHashMap.get(item.getId().getVideoId()).getContentDetails().getDuration())); } @@ -138,7 +138,7 @@ public class YoutubeTools { } else hours = 0; - logger.debug(time); + logger.trace(time); if(time.contains("M")) { @@ -148,7 +148,7 @@ public class YoutubeTools { } else minutes = 0; - logger.debug(time); + logger.trace(time); if(time.contains("S")) { String matched = time.substring(0, time.indexOf("S")+1); @@ -157,7 +157,7 @@ public class YoutubeTools { } else seconds = 0; - logger.debug(time); + logger.trace(time); String hoursStr = (hours < 10) ? "0" + hours : String.valueOf(hours); String minutesStr = (minutes < 10) ? "0" + minutes : String.valueOf(minutes);