code: public static Map<String,Object> getLogClasses(){
          SortedMap<String,Object> loggers = new TreeMap<String, Object>();
          Map<String,Object> res = Objects.newHashMap(
                  "level",LogManager.getRootLogger().getLevel().toString().toUpperCase(),
                  "loggers",loggers
          );
  
          Enumeration<Category> en = LogManager.getCurrentLoggers();
          while(en.hasMoreElements()){
              Category e = en.nextElement();
              loggers.put(e.getName(),e.getEffectiveLevel().toString().toUpperCase());
          }
  
          return res;
      }
docs: Get all log classes names
  
  @return