Category.getRoot().setLevel(Level.FATAL);
    public static void initLog4j()    {        if(!log4jInitialized && OsType.OTHER_OS.isCurrentOS())        {            // configure Log4j only if outside of JNode            // (because JNode has its own config for Log4j)                        try            {                                      // name must be of max 8 characters !!!                // but extension can be larger that 3 characters !!!!!                // (probably only under windows)                String configLog4j = "log4jCfg.properties";                                URL url = ConfigManager.class.getResource(configLog4j);                if(url == null)                {                    System.err.println("can't find resource "+configLog4j);                }                else                {                    PropertyConfigurator.configure(url);                }                                log4jInitialized = true;            }            catch(OutOfMemoryError oome)            {                oome.printStackTrace();                System.err.println("freeMemory:"+Runtime.getRuntime().freeMemory());                System.err.println("maxMemory:"+Runtime.getRuntime().maxMemory());                System.err.println("totalMemory:"+Runtime.getRuntime().totalMemory());            }                    }            }