Skip to content

Commit

Permalink
Log where it reads the config from
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim203 committed Jul 12, 2024
1 parent 2c6d36f commit 27c4a2a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
*/
package org.geysermc.globallinkserver.config;

import static org.geysermc.globallinkserver.GlobalLinkServer.LOGGER;

import com.google.gson.Gson;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
Expand All @@ -36,6 +38,7 @@ public class ConfigReader {
private static final Path CONFIG_PATH = Paths.get("./config.json");

public static Config readConfig() {
LOGGER.info("Reading config from " + CONFIG_PATH.toAbsolutePath());
String data = configContent();
if (data == null) {
createConfig();
Expand Down

0 comments on commit 27c4a2a

Please sign in to comment.