mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-29 23:18:23 +00:00
Enable complete debugging info with -debug
This commit is contained in:
parent
146fa9862f
commit
eab52d8645
@ -108,6 +108,18 @@ public final class Grasscutter {
|
|||||||
// Set the logger to debug.
|
// Set the logger to debug.
|
||||||
log.setLevel(Level.DEBUG);
|
log.setLevel(Level.DEBUG);
|
||||||
log.debug("The logger is now running in debug mode.");
|
log.debug("The logger is now running in debug mode.");
|
||||||
|
|
||||||
|
// Change loggers to debug.
|
||||||
|
((Logger) LoggerFactory.getLogger("express"))
|
||||||
|
.setLevel(Level.DEBUG);
|
||||||
|
((Logger) LoggerFactory.getLogger("org.quartz"))
|
||||||
|
.setLevel(Level.DEBUG);
|
||||||
|
((Logger) LoggerFactory.getLogger("org.reflections"))
|
||||||
|
.setLevel(Level.DEBUG);
|
||||||
|
((Logger) LoggerFactory.getLogger("org.eclipse.jetty"))
|
||||||
|
.setLevel(Level.DEBUG);
|
||||||
|
((Logger) LoggerFactory.getLogger("org.mongodb.driver"))
|
||||||
|
.setLevel(Level.DEBUG);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user