From e8fa4c72dd575b567f54431f4a1d756002f6716d Mon Sep 17 00:00:00 2001 From: Liam Date: Thu, 4 Jul 2024 06:46:33 +0100 Subject: [PATCH] disable user and guild load log --- src/main/java/cc/fascinated/bat/service/GuildService.java | 2 +- src/main/java/cc/fascinated/bat/service/UserService.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/cc/fascinated/bat/service/GuildService.java b/src/main/java/cc/fascinated/bat/service/GuildService.java index 2fee5e3..56b2afe 100644 --- a/src/main/java/cc/fascinated/bat/service/GuildService.java +++ b/src/main/java/cc/fascinated/bat/service/GuildService.java @@ -89,7 +89,7 @@ public class GuildService extends ListenerAdapter implements EventListener { if (document != null) { BatGuild guild = new BatGuild(id, document); guilds.put(id, guild); - log.info("Loaded guild \"{}\" in {}ms", guild.getName(), System.currentTimeMillis() - before); +// log.info("Loaded guild \"{}\" in {}ms", guild.getName(), System.currentTimeMillis() - before); return guild; } // New guild diff --git a/src/main/java/cc/fascinated/bat/service/UserService.java b/src/main/java/cc/fascinated/bat/service/UserService.java index 4186353..57a82fe 100644 --- a/src/main/java/cc/fascinated/bat/service/UserService.java +++ b/src/main/java/cc/fascinated/bat/service/UserService.java @@ -63,7 +63,7 @@ public class UserService implements EventListener { if (document != null) { BatUser batUser = new BatUser(id, user, document); users.put(id, batUser); - log.info("Loaded user \"{}\" in {}ms", batUser.getName(),System.currentTimeMillis() - before); +// log.info("Loaded user \"{}\" in {}ms", batUser.getName(),System.currentTimeMillis() - before); return batUser; } // New user