Skip to content

Commit b3b08b3

Browse files
committed
Attempt to suppress mongo in console.
1 parent 2c24560 commit b3b08b3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/java/com/hiddentech/playerstorage/PlayerStorageAPI.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import java.util.Objects;
2121
import java.util.UUID;
2222
import java.util.logging.Level;
23+
import java.util.logging.Logger;
2324

2425
public class PlayerStorageAPI {
2526

@@ -60,8 +61,8 @@ public PlayerRegistry getRegistry() {
6061
private static PlayerStorageAPI instance;
6162

6263
private PlayerStorageAPI(JavaPlugin plugin) {
64+
Logger.getLogger("org.mongodb.driver").setLevel(Level.WARNING);
6365
this.plugin = plugin;
64-
//unsure why this is not being found in my ide
6566
this.registry = new PlayerRegistry(this);
6667
new PlayerJoinListener(this);
6768
new PlayerQuitListener(this);

0 commit comments

Comments
 (0)