Random thing for logback

This commit is contained in:
Melledy 2022-04-18 00:42:58 -07:00
parent c83bec9b9e
commit 58c03d9317

View File

@ -23,6 +23,10 @@ import emu.grasscutter.tools.Tools;
import emu.grasscutter.utils.Crypto; import emu.grasscutter.utils.Crypto;
public final class Grasscutter { public final class Grasscutter {
static {
System.setProperty("logback.configurationFile", "src/main/resources/logback.xml");
}
private static final Logger log = (Logger) LoggerFactory.getLogger(Grasscutter.class); private static final Logger log = (Logger) LoggerFactory.getLogger(Grasscutter.class);
private static Config config; private static Config config;