Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust log levels for non-default configurations #160

Merged
merged 2 commits into from
Sep 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ private IdRegistry initRegistry() {
}
IdRegistry registry;
if (world == null) {
logger.severe("For every world plugin will now send their unique IDs");
logger.info("For every world plugin will now send their unique IDs");
registry = new IdRegistry.DynamicUUIDRegistry();
} else {
int id = world.getUID().hashCode();
Expand All @@ -155,14 +155,14 @@ private IdRegistry initRegistry() {
if (env == World.Environment.NORMAL) {
if (defaultWorld != null) {
// Non-default server configuration
logger.severe("Unexpected world: " + world);
logger.info("Unexpected world: " + world);
return null;
}
defaultWorld = world;
}
}
if (defaultWorld == null) {
logger.severe("Default world not detected");
logger.info("Default world not detected");
return null;
}
logger.fine("Selected default world: " + defaultWorld + " (" + defaultWorld.getUID() + ")");
Expand Down
Loading