mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-02-17 04:51:31 +01:00
Add debug logging (in /mv debug 3)
This commit is contained in:
parent
4f756a4c2d
commit
bf663a76dc
@ -135,7 +135,7 @@ public class DumpsCommand extends MultiverseCommand {
|
|||||||
LogsType logsType = parsedFlags.flagValue("--logs", LogsType.class);
|
LogsType logsType = parsedFlags.flagValue("--logs", LogsType.class);
|
||||||
if (logsType == null) {
|
if (logsType == null) {
|
||||||
logsType = LogsType.MCLOGS;
|
logsType = LogsType.MCLOGS;
|
||||||
Logging.info("logs was null so set to mclogs");
|
Logging.finer("Logs was null so set to mclogs");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -145,7 +145,7 @@ public class DumpsCommand extends MultiverseCommand {
|
|||||||
Services services = parsedFlags.flagValue("--upload", Services.class);
|
Services services = parsedFlags.flagValue("--upload", Services.class);
|
||||||
if (services == null) {
|
if (services == null) {
|
||||||
services = Services.PASTEGG;
|
services = Services.PASTEGG;
|
||||||
Logging.info("upload was null so set to pastegg");
|
Logging.finer("Upload was null so set to pastegg");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -156,8 +156,8 @@ public class DumpsCommand extends MultiverseCommand {
|
|||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
HashMap<String, String> pasteURLs = new HashMap<>();
|
HashMap<String, String> pasteURLs = new HashMap<>();
|
||||||
Logging.info("Logs type is: " + finalLogsType);
|
Logging.finer("Logs type is: " + finalLogsType);
|
||||||
Logging.info("Services is: " + finalServices);
|
Logging.finer("Services is: " + finalServices);
|
||||||
|
|
||||||
// Deal with logs flag
|
// Deal with logs flag
|
||||||
if (!parsedFlags.hasFlag("--paranoid")) {
|
if (!parsedFlags.hasFlag("--paranoid")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user