diff options
author | Keuin <[email protected]> | 2022-03-12 22:14:10 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2022-03-12 22:14:10 +0800 |
commit | ddadd20633d46e4a9683cd0cc9c746ee90ff1dc0 (patch) | |
tree | 74caed16a20b517af3f5c2c5df2eee34400e5968 /src | |
parent | 04f5fdb3d02c7fa29443ff7d6af847c8bddd0019 (diff) |
Improve log messages.
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/keuin/crosslink/plugin/common/PluginMain.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main/java/com/keuin/crosslink/plugin/common/PluginMain.java b/src/main/java/com/keuin/crosslink/plugin/common/PluginMain.java index a556f92..bdaf31d 100644 --- a/src/main/java/com/keuin/crosslink/plugin/common/PluginMain.java +++ b/src/main/java/com/keuin/crosslink/plugin/common/PluginMain.java @@ -71,7 +71,7 @@ public final class PluginMain { logger.debug("Loading rule chain."); var rc = new RouterConfigurer(routing); rc.configure(messageRouter); // update routing table, clear endpoints - logger.debug("Message router is configured successfully."); + logger.debug("Finish configuring message router."); } catch (JsonProcessingException | ConfigSyntaxError ex) { logger.error("Failed to load routing config.", ex); throw new RuntimeException(ex); @@ -126,13 +126,11 @@ public final class PluginMain { logger.error("Failed to start API server", ex); throw new RuntimeException(ex); } - - logger.info("Finish initializing."); } public void enable() { // TODO refactor setup and teardown routine, split into hooks - logger.info("Loading config from disk..."); + logger.info("Loading config from disk."); try { GlobalConfigManager.initializeGlobalManager(environment.pluginDataPath().toFile()); } catch (ConfigLoadException | IOException ex) { |