File tree Expand file tree Collapse file tree
src/main/java/com/hiddentech/playerstorage Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010import org .bukkit .configuration .file .YamlConfiguration ;
1111import org .bukkit .plugin .Plugin ;
1212import org .bukkit .plugin .java .JavaPlugin ;
13- import org .slf4j .LoggerFactory ;
1413import redis .clients .jedis .Jedis ;
1514import redis .clients .jedis .JedisPool ;
1615import redis .clients .jedis .JedisPoolConfig ;
2120import java .util .Objects ;
2221import java .util .UUID ;
2322import java .util .logging .Level ;
24- import java .util .logging .LogManager ;
25- import java .util .logging .Logger ;
2623
2724public class PlayerStorageAPI {
2825
@@ -63,8 +60,7 @@ public PlayerRegistry getRegistry() {
6360 private static PlayerStorageAPI instance ;
6461
6562 private PlayerStorageAPI (JavaPlugin plugin ) {
66- Logger logger = (Logger ) LoggerFactory .getLogger ("org.mongodb.driver.cluster" );
67- logger .setLevel (Level .WARNING );
63+ java .util .logging .Logger .getLogger ("org.mongodb.driver" ).setLevel (java .util .logging .Level .SEVERE );
6864 this .plugin = plugin ;
6965 this .registry = new PlayerRegistry (this );
7066 new PlayerJoinListener (this );
You can’t perform that action at this time.
0 commit comments