mirror of
https://github.com/Nan1t/NanoLimbo.git
synced 2025-07-16 14:10:13 +02:00
Set custom log level after server started
This commit is contained in:
parent
b77d9b0935
commit
e089fb5584
@ -67,8 +67,6 @@ public final class LimboServer {
|
||||
config = new LimboConfig(Paths.get("./"));
|
||||
config.load();
|
||||
|
||||
Logger.setLevel(config.getDebugLevel());
|
||||
|
||||
dimensionRegistry = new DimensionRegistry(this);
|
||||
dimensionRegistry.load(config.getDimensionType());
|
||||
connections = new Connections();
|
||||
@ -82,6 +80,8 @@ public final class LimboServer {
|
||||
Runtime.getRuntime().addShutdownHook(new Thread(this::stop, "NanoLimbo shutdown thread"));
|
||||
|
||||
Logger.info("Server started on %s", config.getAddress());
|
||||
|
||||
Logger.setLevel(config.getDebugLevel());
|
||||
}
|
||||
|
||||
private void startBootstrap() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user