Fix duplicate authlib log

This commit is contained in:
yushijinhun 2018-12-30 00:08:40 +08:00
parent 42ed5a9b1e
commit eb830c9c9f
No known key found for this signature in database
GPG key ID: 5BC167F73EA558E4

View file

@ -113,7 +113,7 @@ public class AuthlibLogInterceptor implements TransformUnit {
Object loggerConfig; Object loggerConfig;
{ {
Map<String, Object> values = new HashMap<>(); Map<String, Object> values = new HashMap<>();
values.put("additivity", true); values.put("additivity", false);
values.put("level", classLevel.getDeclaredField("ALL").get(null)); values.put("level", classLevel.getDeclaredField("ALL").get(null));
values.put("name", loggerName); values.put("name", loggerName);
values.put("includeLocation", authlibPackageName); values.put("includeLocation", authlibPackageName);