Skip to content

Commit

Permalink
rephrase starting logs to be clearer
Browse files Browse the repository at this point in the history
  • Loading branch information
rfresh2 committed Aug 21, 2023
1 parent c2b67c9 commit 03f5cb2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/com/zenith/Proxy.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
import java.util.*;
import java.util.concurrent.CopyOnWriteArraySet;
import java.util.concurrent.Future;
import java.util.concurrent.ThreadLocalRandom;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicReference;
import java.util.stream.Collectors;
Expand Down Expand Up @@ -113,16 +112,16 @@ public void start() {
TERMINAL_MANAGER.start();
}
if (CONFIG.database.enabled) {
DEFAULT_LOG.info("Starting Databases...");
DATABASE_MANAGER.start();
DEFAULT_LOG.info("Started Databases");
}
if (CONFIG.discord.enable) {
DISCORD_LOG.info("Starting discord bot...");
try {
DISCORD_BOT.start();
} catch (final Throwable e) {
DISCORD_LOG.error("Failed starting discord bot", e);
}
DISCORD_LOG.info("Started Discord Bot");
}
if (CONFIG.server.extra.whitelist.whitelistRefresh) {
WHITELIST_MANAGER.startRefreshTask();
Expand Down Expand Up @@ -195,11 +194,12 @@ && isNull(getCurrentPlayer().get())) {
}
}
if (CONFIG.autoUpdater.autoUpdate) {
DEFAULT_LOG.info("Starting {} AutoUpdater...", LAUNCH_CONFIG.release_channel);
if (LAUNCH_CONFIG.release_channel.equals("git")) autoUpdater = new GitAutoUpdater();
else autoUpdater = new RestAutoUpdater();
autoUpdater.start();
DEFAULT_LOG.info("Started {} AutoUpdater...", LAUNCH_CONFIG.release_channel);
}
DEFAULT_LOG.info("ZenithProxy started!");
Wait.waitSpinLoop();
} catch (Exception e) {
DEFAULT_LOG.error("", e);
Expand Down

0 comments on commit 03f5cb2

Please sign in to comment.