diff --git a/src/main/java/org/jivesoftware/site/DiscourseAPI.java b/src/main/java/org/jivesoftware/site/DiscourseAPI.java index 497d0e1c..e4f9584e 100644 --- a/src/main/java/org/jivesoftware/site/DiscourseAPI.java +++ b/src/main/java/org/jivesoftware/site/DiscourseAPI.java @@ -119,7 +119,7 @@ public DownloadStatsRunnable(Map counts) { } public void run() { - Log.info("Retrieving Discourse statistics..."); + Log.debug("Retrieving Discourse statistics..."); Instant start = Instant.now(); final Map results = new HashMap<>(); @@ -131,7 +131,7 @@ public void run() { if (b != null) { results.put(4, b); } - Log.debug("Queried all Discourse stats in {}", Duration.between(start, Instant.now())); + Log.info("Queried all Discourse stats in {}", Duration.between(start, Instant.now())); // Replace all values in the object used by the website in one go. counts.clear(); diff --git a/src/main/java/org/jivesoftware/site/DownloadStats.java b/src/main/java/org/jivesoftware/site/DownloadStats.java index be5201ef..07a6738a 100644 --- a/src/main/java/org/jivesoftware/site/DownloadStats.java +++ b/src/main/java/org/jivesoftware/site/DownloadStats.java @@ -190,7 +190,7 @@ public DownloadStatsRunnable(Map counts) { } public void run() { - Log.info("Retrieving downloads statistics..."); + Log.debug("Retrieving downloads statistics..."); final DbConnectionManager connectionManager = DbConnectionManager.getInstance(); Connection con = null; @@ -254,7 +254,7 @@ public void run() { rs.close(); pstmt.close(); - Log.debug("Queried all download stats in {}", Duration.between(start, Instant.now())); + Log.info("Queried all-time download stats in {}", Duration.between(start, Instant.now())); start = Instant.now(); pstmt = con.prepareStatement(COUNT_TOTAL_DOWNLOADS_LAST_7_DAYS); @@ -264,7 +264,7 @@ public void run() { lastDays = rs.getLong(1); } results.put(TOTAL7DAYS, lastDays); - Log.debug("Queried last 7 days download stats in {}", Duration.between(start, Instant.now())); + Log.info("Queried last 7 days download stats in {}", Duration.between(start, Instant.now())); // Replace all values in the object used by the website in one go. counts.clear();